mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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) {
|
if (!empty) {
|
||||||
_emptyRtmp.destroy();
|
_emptyRtmp.destroy();
|
||||||
return;
|
return;
|
||||||
} else if (_emptyRtmp) {
|
} else if (_emptyRtmp || _call->hasVideoWithFrames()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
auto text = _call->rtmpUrl().isEmpty()
|
auto text = _call->rtmpUrl().isEmpty()
|
||||||
|
@ -1615,6 +1615,7 @@ void Panel::setupEmptyRtmp() {
|
||||||
widget(),
|
widget(),
|
||||||
std::move(text),
|
std::move(text),
|
||||||
st::groupCallVideoLimitLabel);
|
st::groupCallVideoLimitLabel);
|
||||||
|
_emptyRtmp->show();
|
||||||
widget()->sizeValue(
|
widget()->sizeValue(
|
||||||
) | rpl::start_with_next([=](QSize size) {
|
) | rpl::start_with_next([=](QSize size) {
|
||||||
const auto width = std::min(
|
const auto width = std::min(
|
||||||
|
|
Loading…
Add table
Reference in a new issue