diff --git a/Telegram/SourceFiles/calls/group/calls_group_toasts.cpp b/Telegram/SourceFiles/calls/group/calls_group_toasts.cpp index 7d8d3c217d..cf27a9a810 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_toasts.cpp +++ b/Telegram/SourceFiles/calls/group/calls_group_toasts.cpp @@ -105,7 +105,9 @@ void Toasts::setupPinnedVideo() { ? _call->videoEndpointLargeValue() : rpl::single(_call->videoEndpointLarge()); }) | rpl::flatten_latest( - ) | rpl::start_with_next([=](const VideoEndpoint &endpoint) { + ) | rpl::filter([=] { + return (_call->shownVideoTracks().size() > 1); + }) | rpl::start_with_next([=](const VideoEndpoint &endpoint) { const auto pinned = _call->videoEndpointPinned(); const auto peer = endpoint.peer; if (!peer) {