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

Isolate lib_base library. Use crl::time in getms.

This commit is contained in:
John Preston
2018-08-08 23:11:28 +03:00
parent cb371f09ac
commit 64b8adb3d0
23 changed files with 267 additions and 157 deletions

View File

@@ -668,7 +668,8 @@ void Messenger::forceLogOut(const TextWithEntities &explanation) {
}
void Messenger::checkLocalTime() {
if (App::main()) App::main()->checkLastUpdate(checkms());
const auto updated = checkms();
if (App::main()) App::main()->checkLastUpdate(updated);
}
void Messenger::onAppStateChanged(Qt::ApplicationState state) {