From 0803dfb584a35858720998ba0f3143e8ec6c3303 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Tue, 11 Jan 2022 06:35:28 +0300 Subject: [PATCH] Fix missing icons in admin log context menu --- .../SourceFiles/history/admin_log/history_admin_log_inner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp b/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp index 0f2e3b8a4..94c5090d3 100644 --- a/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp +++ b/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp @@ -1459,7 +1459,7 @@ void InnerWidget::suggestRestrictParticipant( editRestrictions(false, ChatRestrictionsInfo()); }).send(); } - }); + }, user ? &st::menuIconRestrict : &st::menuIconRemove); if (user) { _menu->addAction(tr::lng_context_remove_from_group(tr::now), [=] { @@ -1511,7 +1511,7 @@ void InnerWidget::suggestRestrictParticipant( editRestrictions(false, bannedRights); }).send(); } - }); + }, &st::menuIconRemove); } }