2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-04 00:25:17 +00:00

Removed unused MTPBool from callbacks on done.

This commit is contained in:
23rd
2021-11-26 23:54:46 +03:00
committed by John Preston
parent 3647241f71
commit 69dc6c98ce
19 changed files with 44 additions and 56 deletions

View File

@@ -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();