From 482ad74c574ca4fa8e93eb60fb7bf989f0bf8eb6 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 3 Jun 2021 12:33:55 +0400 Subject: [PATCH] Stop camera/screen video when muted by admin. --- Telegram/SourceFiles/calls/group/calls_group_call.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/calls/group/calls_group_call.cpp b/Telegram/SourceFiles/calls/group/calls_group_call.cpp index 1fc7c9b7bf..c810351675 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_call.cpp +++ b/Telegram/SourceFiles/calls/group/calls_group_call.cpp @@ -1527,8 +1527,8 @@ void GroupCall::setMuted(MuteState mute) { applyMeInCallLocally(); } if (mutedByAdmin()) { - //toggleVideo(false); - //toggleScreenSharing(std::nullopt); + toggleVideo(false); + toggleScreenSharing(std::nullopt); } }; if (mute == MuteState::Active || mute == MuteState::PushToTalk) {