2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Stop camera/screen video when muted by admin.

This commit is contained in:
John Preston
2021-06-03 12:33:55 +04:00
parent 68ae40ee56
commit 482ad74c57

View File

@@ -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) {