Fix removing user from Recent Actions

This commit is contained in:
Eric Kotato 2021-08-25 18:18:00 +03:00
parent d2ef174d13
commit 4699df03e6

View file

@ -1393,7 +1393,7 @@ void InnerWidget::suggestRestrictUser(not_null<UserData*> user) {
if (weak) { if (weak) {
weak->restrictUser(user, weak->restrictUser(user,
currentRights, currentRights,
ChatRestrictionsInfo()); ChannelData::KickedRestrictedRights(user));
} }
if (*weakBox) { if (*weakBox) {
(*weakBox)->closeBox(); (*weakBox)->closeBox();