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

Method clearLocalStorage

Telegram/SourceFiles/data/data_session.cpp:5689–5694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5687}
5688
5689void Session::clearLocalStorage() {
5690 _cache->close();
5691 _cache->clear();
5692 _bigFileCache->close();
5693 _bigFileCache->clear();
5694}
5695
5696void Session::fillMessagePeer(FullMsgId fullId, PeerId peerId) {
5697 if (!peerLoaded(peerId) && fullId.peer != peerId) {

Callers 1

finishLogoutMethod · 0.80

Calls 2

closeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected