2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Removed MTP::Error from migrating chat.

This commit is contained in:
23rd
2021-11-28 07:51:34 +03:00
committed by John Preston
parent 0dfb77435d
commit d218b76efe
3 changed files with 12 additions and 13 deletions

View File

@@ -242,7 +242,7 @@ void ShowEditPermissions(
const auto api = &peer->session().api();
api->migrateChat(chat, [=](not_null<ChannelData*> channel) {
save(channel, result);
}, [=](const MTP::Error &) {
}, [=](const QString &) {
*saving = false;
});
}, box->lifetime());