diff --git a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp index e243482606..f62d2afdb1 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp +++ b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp @@ -1603,26 +1603,51 @@ void Panel::setupEmptyRtmp() { if (!empty) { _emptyRtmp.destroy(); return; - } else if (_emptyRtmp || _call->hasVideoWithFrames()) { + } else if (_emptyRtmp) { return; } - auto text = _call->rtmpInfo().url.isEmpty() - ? tr::lng_group_call_no_stream( - lt_group, - rpl::single(_peer->name)) - : tr::lng_group_call_no_stream_admin(); - _emptyRtmp.create( - widget(), - std::move(text), - st::groupCallVideoLimitLabel); + struct Label { + Label(QWidget *parent, rpl::producer text) + : widget(parent, std::move(text), st::groupCallVideoLimitLabel) + , color([] { + auto result = st::groupCallBg->c; + result.setAlphaF(kControlsBackgroundOpacity); + return result; + }) + , corners(st::groupCallControlsBackRadius, color.color()) { + } + + Ui::FlatLabel widget; + style::complex_color color; + Ui::RoundRect corners; + }; + _emptyRtmp.create(widget()); + const auto label = _emptyRtmp->lifetime().make_state