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