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

Method checkFolder

Telegram/SourceFiles/data/data_peer.cpp:836–845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834}
835
836void PeerData::checkFolder(FolderId folderId) {
837 const auto folder = folderId
838 ? owner().folderLoaded(folderId)
839 : nullptr;
840 if (const auto history = owner().historyLoaded(this)) {
841 if (folder && history->folder() != folder) {
842 owner().histories().requestDialogEntry(history);
843 }
844 }
845}
846
847void PeerData::clearBusinessBot() {
848 if (const auto details = _barDetails.get()) {

Callers 2

ApplyUserUpdateFunction · 0.80
ApplyChatUpdateFunction · 0.80

Calls 4

folderLoadedMethod · 0.80
requestDialogEntryMethod · 0.80
historyLoadedMethod · 0.45
folderMethod · 0.45

Tested by

no test coverage detected