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

Method chatLoaded

Telegram/SourceFiles/data/data_session.cpp:534–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534ChatData *Session::chatLoaded(ChatId id) const {
535 if (const auto peer = peerLoaded(peerFromChat(id))) {
536 return peer->asChat();
537 }
538 return nullptr;
539}
540
541ChannelData *Session::channelLoaded(ChannelId id) const {
542 if (const auto peer = peerLoaded(peerFromChannel(id))) {

Callers 4

TLToRulesFunction · 0.45
DataIsLoadedFunction · 0.45
feedUpdateMethod · 0.45
applyServiceChangesMethod · 0.45

Calls 2

peerFromChatFunction · 0.85
asChatMethod · 0.80

Tested by

no test coverage detected