mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Disable speaker link sharing in RTMP streams.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user