MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / updateOnline

Method updateOnline

Telegram/SourceFiles/api/api_updates.cpp:972–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

970}
971
972void Updates::updateOnline(crl::time lastNonIdleTime) {
973 updateOnline(lastNonIdleTime, false);
974}
975
976bool Updates::isIdle() const {
977 return _isIdle.current();

Callers 4

showAccountMethod · 0.80
handleActiveChangedMethod · 0.80
handleAppDeactivatedMethod · 0.80
windowActivatedMethod · 0.80

Calls 15

AppClass · 0.85
QuittingFunction · 0.85
MTP_boolFunction · 0.85
lastNonIdleTimeMethod · 0.80
checkAutoLockMethod · 0.80
quitPreventFinishedMethod · 0.80
updateLastseenMethod · 0.80
peerUpdatedMethod · 0.80
hasActiveWindowMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected