mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Accept "livestream" and "videochat" link params.
This commit is contained in:
parent
58b5b3deec
commit
c6097d3d11
1 changed files with 5 additions and 1 deletions
|
@ -308,7 +308,11 @@ bool ResolveUsername(
|
|||
}
|
||||
: Navigation::RepliesByLinkInfo{ v::null },
|
||||
.startToken = startToken,
|
||||
.voicechatHash = (params.contains(u"voicechat"_q)
|
||||
.voicechatHash = (params.contains(u"livestream"_q)
|
||||
? std::make_optional(params.value(u"livestream"_q))
|
||||
: params.contains(u"videochat"_q)
|
||||
? std::make_optional(params.value(u"videochat"_q))
|
||||
: params.contains(u"voicechat"_q)
|
||||
? std::make_optional(params.value(u"voicechat"_q))
|
||||
: std::nullopt),
|
||||
.clickFromMessageId = fromMessageId,
|
||||
|
|
Loading…
Add table
Reference in a new issue