diff --git a/Telegram/SourceFiles/api/api_authorizations.cpp b/Telegram/SourceFiles/api/api_authorizations.cpp index 78e463c11..6cd28824e 100644 --- a/Telegram/SourceFiles/api/api_authorizations.cpp +++ b/Telegram/SourceFiles/api/api_authorizations.cpp @@ -217,7 +217,11 @@ void Authorizations::toggleCallsDisabled(uint64 hash, bool disabled) { MTP_bool(disabled) )).done([=] { _toggleCallsDisabledRequests.remove(hash); - }).fail([=] { + }).fail([=](const MTP::Error &error) { + LOG(("API Error: toggle calls %1. Hash: %2. %3.") + .arg(disabled ? u"disabled"_q : u"enabled"_q) + .arg(hash) + .arg(error.type())); _toggleCallsDisabledRequests.remove(hash); }).send(); _toggleCallsDisabledRequests.emplace(hash, id); diff --git a/Telegram/lib_spellcheck b/Telegram/lib_spellcheck index f6594068d..8809cc72d 160000 --- a/Telegram/lib_spellcheck +++ b/Telegram/lib_spellcheck @@ -1 +1 @@ -Subproject commit f6594068d4282aa84c51c7242d40213f3e0bf6f6 +Subproject commit 8809cc72d07087ec61a1e8569de4da95aac45474