mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Removed unused MTPBool from callbacks on done.
This commit is contained in:
@@ -101,7 +101,7 @@ void SaveChatAdmin(
|
||||
chat->inputChat,
|
||||
user->inputUser,
|
||||
MTP_bool(isAdmin)
|
||||
)).done([=](const MTPBool &result) {
|
||||
)).done([=] {
|
||||
chat->applyEditAdmin(user, isAdmin);
|
||||
if (onDone) {
|
||||
onDone();
|
||||
|
Reference in New Issue
Block a user