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

Method enumerateTopics

Telegram/SourceFiles/data/data_forum.cpp:604–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602}
603
604void Forum::enumerateTopics(Fn<void(not_null<ForumTopic*>)> action) const {
605 for (const auto &[rootId, topic] : _topics) {
606 action(topic.get());
607 }
608}
609
610ForumTopic *Forum::topicFor(MsgId rootId) {
611 if (!rootId) {

Callers 5

MarkAsReadThreadFunction · 0.80
resetUserpicsForMethod · 0.80
unpinMessagesForMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected