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

Method folderLoaded

Telegram/SourceFiles/data/data_session.cpp:5213–5216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5211}
5212
5213Folder *Session::folderLoaded(FolderId id) const {
5214 const auto it = _folders.find(id);
5215 return (it == end(_folders)) ? nullptr : it->second.get();
5216}
5217
5218not_null<Folder*> Session::processFolder(const MTPFolder &data) {
5219 return data.match([&](const MTPDfolder &data) {

Callers 15

setupArchiveMethod · 0.80
ShowForwardMessagesBoxFunction · 0.80
InnerMethod · 0.80
rebuildRowsMethod · 0.80
addChatsContactsMethod · 0.80
checkFolderMethod · 0.80
ApplyChannelUpdateFunction · 0.80
MainListMapUnreadStateFunction · 0.80
applyChangeMethod · 0.80
CountFilterChatsFunction · 0.80

Calls 2

findMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected