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

Method asHistory

Telegram/SourceFiles/dialogs/dialogs_entry.cpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107History *Entry::asHistory() {
108 return (_flags & Flag::IsHistory)
109 ? static_cast<History*>(this)
110 : nullptr;
111}
112
113Data::Forum *Entry::asForum() {
114 return (_flags & Flag::IsHistory)

Callers 15

filesOrForwardDropMethod · 0.80
showMethod · 0.80
showThreadMethod · 0.80
PinnedLimitReachedFunction · 0.80
TogglePinnedThreadFunction · 0.80
addToggleMuteSubmenuMethod · 0.80
MarkAsReadThreadFunction · 0.80
setupMethod · 0.80
preloadUserpicMethod · 0.80
refreshChatListEntryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected