mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
MTP global state moved to MTP::Instance class.
Now there will be ability to start multiple mtproto instances.
This commit is contained in:
@@ -124,7 +124,7 @@ void unixtimeSet(int32 serverTime, bool force) {
|
||||
}
|
||||
|
||||
TimeId unixtime() {
|
||||
TimeId result = myunixtime();
|
||||
auto result = myunixtime();
|
||||
|
||||
QReadLocker locker(&unixtimeLock);
|
||||
return result + unixtimeDelta;
|
||||
|
Reference in New Issue
Block a user