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

Method asForum

Telegram/SourceFiles/dialogs/dialogs_entry.cpp:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113Data::Forum *Entry::asForum() {
114 return (_flags & Flag::IsHistory)
115 ? static_cast<History*>(this)->peer->forum()
116 : nullptr;
117}
118
119Data::Folder *Entry::asFolder() {
120 return (_flags & Flag::IsThread)

Callers 15

filesOrForwardDropMethod · 0.80
ShowShareGameBoxFunction · 0.80
MarkAsReadThreadFunction · 0.80
forumMethod · 0.80
InnerMethod · 0.80
applyChatFilterMethod · 0.80
peopleReceivedMethod · 0.80
IsCreatingFunction · 0.80
isCreatingTopicMethod · 0.80
checkTopicCreatedMethod · 0.80

Calls 1

forumMethod · 0.45

Tested by

no test coverage detected