Fix 'listening' state show in group video chats.

Regression was introduced in c3ca8c6258.
This commit is contained in:
John Preston 2024-04-02 18:18:39 +04:00
parent c678973119
commit ef04ed447f
1 changed files with 3 additions and 3 deletions

View File

@ -612,9 +612,9 @@ void MembersRow::paintComplexStatusText(
x += skip;
availableWidth -= skip;
const auto &font = st::normalFont;
const auto useAbout = (style == MembersRowStyle::Video)
? false
: ((_state == State::RaisedHand && !_raisedHandStatus)
const auto useAbout = !_about.isEmpty()
&& (style != MembersRowStyle::Video)
&& ((_state == State::RaisedHand && !_raisedHandStatus)
|| (_state != State::RaisedHand && !_speaking));
if (!useAbout
&& _state != State::Invited