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

Method mtpNewSessionCreated

Telegram/SourceFiles/api/api_updates.cpp:881–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

879}
880
881void Updates::mtpNewSessionCreated() {
882 Core::App().checkAutoLock();
883 _updatesSeq = 0;
884 MTP_LOG(0, ("getDifference { after new_session_created }%1"
885 ).arg(_session->mtp().isTestMode() ? " TESTMODE" : ""));
886 getDifference();
887}
888
889void Updates::mtpUpdateReceived(const MTPUpdates &updates) {
890 Core::App().checkAutoLock();

Callers 1

UpdatesMethod · 0.45

Calls 3

AppClass · 0.85
checkAutoLockMethod · 0.80
isTestModeMethod · 0.45

Tested by

no test coverage detected