mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix information about empty RTMP streams.
This commit is contained in:
parent
13f1ab7965
commit
de7c7aca6c
1 changed files with 2 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue