2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +00:00

Add recent members userpics to group call bar.

This commit is contained in:
John Preston
2020-11-29 15:29:25 +03:00
parent 058199aa0d
commit e3a73378e7
10 changed files with 348 additions and 43 deletions

View File

@@ -978,7 +978,10 @@ void MainWidget::setCurrentGroupCall(Calls::GroupCall *call) {
_currentGroupCall->stateValue(
) | rpl::start_with_next([=](Calls::GroupCall::State state) {
using State = Calls::GroupCall::State;
if (state != State::Joined && state != State::Connecting) {
if (state != State::Creating
&& state != State::Joining
&& state != State::Joined
&& state != State::Connecting) {
destroyCallTopBar();
} else if (!_callTopBar) {
createCallTopBar();