From de7c7aca6cb8cca29f190b946f3c33a7d00786a1 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 28 Feb 2022 22:36:08 +0300 Subject: [PATCH] Fix information about empty RTMP streams. --- Telegram/SourceFiles/calls/group/calls_group_panel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp index 0cdea8bf6..b044b943c 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp +++ b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp @@ -1603,7 +1603,7 @@ void Panel::setupEmptyRtmp() { if (!empty) { _emptyRtmp.destroy(); return; - } else if (_emptyRtmp) { + } else if (_emptyRtmp || _call->hasVideoWithFrames()) { return; } auto text = _call->rtmpUrl().isEmpty() @@ -1615,6 +1615,7 @@ void Panel::setupEmptyRtmp() { widget(), std::move(text), st::groupCallVideoLimitLabel); + _emptyRtmp->show(); widget()->sizeValue( ) | rpl::start_with_next([=](QSize size) { const auto width = std::min(