From 20ff79abf456e0e831787902ad099d73a89dec4e Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 11 May 2021 14:05:18 +0400 Subject: [PATCH] Fix camera / screen self track activation. --- Telegram/SourceFiles/calls/group/calls_group_call.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/calls/group/calls_group_call.cpp b/Telegram/SourceFiles/calls/group/calls_group_call.cpp index 47d3f1d6e..564ac6810 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_call.cpp +++ b/Telegram/SourceFiles/calls/group/calls_group_call.cpp @@ -887,7 +887,7 @@ void GroupCall::setMyEndpointType( const auto now2 = _activeVideoEndpoints.emplace( endpoint, type).second; - if (now1 && now2) { + if (now1 || now2) { _streamsVideoUpdated.fire({ endpoint, true }); } const auto nowLarge = activeVideoEndpointType(