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:
@@ -919,7 +919,7 @@ void Updates::updateOnline(crl::time lastNonIdleTime, bool gotOtherOffline) {
|
||||
} else {
|
||||
_onlineRequest = api().request(MTPaccount_UpdateStatus(
|
||||
MTP_bool(!isOnline)
|
||||
)).done([=](const MTPBool &result) {
|
||||
)).done([=] {
|
||||
Core::App().quitPreventFinished();
|
||||
}).fail([=] {
|
||||
Core::App().quitPreventFinished();
|
||||
|
Reference in New Issue
Block a user