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

Method mtpUpdateReceived

Telegram/SourceFiles/api/api_updates.cpp:889–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

887}
888
889void Updates::mtpUpdateReceived(const MTPUpdates &updates) {
890 Core::App().checkAutoLock();
891 _lastUpdateTime = crl::now();
892 _noUpdatesTimer.callOnce(kNoUpdatesTimeout);
893 if (!requestingDifference()
894 || HasForceLogoutNotification(updates)) {
895 applyUpdates(updates);
896 } else {
897 applyGroupCallParticipantUpdates(updates);
898 }
899}
900
901void Updates::applyConvertToScheduledOnSend(
902 const MTPVector<MTPUpdate> &other,

Callers

nothing calls this directly

Calls 3

AppClass · 0.85
checkAutoLockMethod · 0.80

Tested by

no test coverage detected