| 205 | } |
| 206 | |
| 207 | void Changes::sublistUpdated( |
| 208 | not_null<SavedSublist*> sublist, |
| 209 | SublistUpdate::Flags flags) { |
| 210 | const auto drop = (flags & SublistUpdate::Flag::Destroyed); |
| 211 | _sublistChanges.updated(sublist, flags, drop); |
| 212 | if (!drop) { |
| 213 | scheduleNotifications(); |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | rpl::producer<SublistUpdate> Changes::sublistUpdates( |
| 218 | SublistUpdate::Flags flags) const { |
no test coverage detected