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

Method asThread

Telegram/SourceFiles/dialogs/dialogs_entry.cpp:125–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125Data::Thread *Entry::asThread() {
126 return (_flags & Flag::IsThread)
127 ? static_cast<Data::Thread*>(this)
128 : nullptr;
129}
130
131Data::ForumTopic *Entry::asTopic() {
132 return (_flags & Flag::IsForumTopic)

Callers 6

MainWidgetMethod · 0.80
showMethod · 0.80
prepareButtonMethod · 0.80
threadMethod · 0.80
PaintRowFunction · 0.80
MakeChatPreviewFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected