diff --git a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp index 3ce97701f..1e95ac2d7 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp @@ -1212,6 +1212,9 @@ void ParticipantsBoxController::rebuildChatAdmins( return true; }(); if (same) { + if (!_allLoaded && !delegate()->peerListFullRowsCount()) { + chatListReady(); + } return; } diff --git a/Telegram/SourceFiles/info/profile/info_profile_values.cpp b/Telegram/SourceFiles/info/profile/info_profile_values.cpp index 289abaf04..dc31b11d9 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_values.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_values.cpp @@ -247,7 +247,7 @@ rpl::producer AdminsCountValue(not_null peer) { ) | rpl::map([=] { return chat->participants.empty() ? 0 - : int(chat->admins.size() + 1); // + creator + : int(chat->admins.size() + (chat->creator ? 1 : 0)); }); } else if (const auto channel = peer->asChannel()) { return peer->session().changes().peerFlagsValue(