mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Removed unused MTPBool from callbacks on done.
This commit is contained in:
@@ -215,7 +215,7 @@ void TogglePinnedDialog(
|
||||
history->session().api().request(MTPmessages_ToggleDialogPin(
|
||||
MTP_flags(flags),
|
||||
MTP_inputDialogPeer(key.history()->peer->input)
|
||||
)).done([=](const MTPBool &result) {
|
||||
)).done([=] {
|
||||
owner->notifyPinnedDialogsOrderUpdated();
|
||||
}).send();
|
||||
} else if (const auto folder = key.folder()) {
|
||||
|
Reference in New Issue
Block a user