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

Method topic

Telegram/SourceFiles/info/info_controller.cpp:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90Data::ForumTopic *Key::topic() const {
91 if (const auto topic = std::get_if<not_null<Data::ForumTopic*>>(
92 &_value)) {
93 return *topic;
94 }
95 return nullptr;
96}
97
98Data::SavedSublist *Key::sublist() const {
99 if (const auto sublist = std::get_if<not_null<Data::SavedSublist*>>(

Callers 15

peerMethod · 0.95
fillTopBarMenuMethod · 0.45
WrapWidgetMethod · 0.45
setupMigrationViewerMethod · 0.45
setupTopicViewerMethod · 0.45
produceSearchQueryMethod · 0.45
_stackFunction · 0.45
MementoMethod · 0.45
createTypeButtonsMethod · 0.45
showDrawButtonMethod · 0.45
topicRootIdMethod · 0.45
ProviderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected