mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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