mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Disable speaker link sharing in RTMP streams.
This commit is contained in:
parent
b1281c7999
commit
728155f0d8
1 changed files with 5 additions and 1 deletions
|
@ -858,7 +858,11 @@ std::pair<Fn<void()>, rpl::lifetime> ShareInviteLinkAction(
|
|||
});
|
||||
}).send();
|
||||
|
||||
if (!state->linkSpeaker.has_value()) {
|
||||
if (real->rtmp()) {
|
||||
state->linkSpeaker = QString();
|
||||
state->linkSpeakerRequestId = 0;
|
||||
shareReady();
|
||||
} else if (!state->linkSpeaker.has_value()) {
|
||||
using Flag = MTPphone_ExportGroupCallInvite::Flag;
|
||||
state->linkSpeakerRequestId = peer->session().api().request(
|
||||
MTPphone_ExportGroupCallInvite(
|
||||
|
|
Loading…
Add table
Reference in a new issue