diff --git a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp index f777344c0..c74dfa173 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp @@ -359,7 +359,9 @@ bool ParticipantsAdditionalData::canRemoveUser( if (canRestrictUser(user)) { return true; } else if (const auto chat = _peer->asChat()) { - return !user->isSelf() && chat->invitedByMe.contains(user); + return !user->isSelf() + && chat->invitedByMe.contains(user) + && (chat->amCreator() || !_admins.contains(user)); } return false; }