| 169 | } |
| 170 | |
| 171 | void Changes::topicUpdated( |
| 172 | not_null<ForumTopic*> topic, |
| 173 | TopicUpdate::Flags flags) { |
| 174 | const auto drop = (flags & TopicUpdate::Flag::Destroyed); |
| 175 | _topicChanges.updated(topic, flags, drop); |
| 176 | if (!drop) { |
| 177 | scheduleNotifications(); |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | rpl::producer<TopicUpdate> Changes::topicUpdates( |
| 182 | TopicUpdate::Flags flags) const { |
no test coverage detected