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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user