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