mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Added debug logs for changing chats filters from context menu.
This commit is contained in:
parent
f4e2b4bcbd
commit
83df3cba66
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,9 @@ void ChangeFilterById(
|
|||
Ui::Text::WithEntities));
|
||||
}
|
||||
}).fail([=](const MTP::Error &error) {
|
||||
LOG(("API Error: failed to %1 a dialog to a folder. %2")
|
||||
.arg(add ? u"add"_q : u"remove"_q)
|
||||
.arg(error.type()));
|
||||
// Revert filter on fail.
|
||||
history->owner().chatsFilters().set(was);
|
||||
}).send();
|
||||
|
|
Loading…
Add table
Reference in a new issue