| 149 | } |
| 150 | |
| 151 | void Groups::refreshViews(const HistoryItemsList &items) { |
| 152 | if (items.empty()) { |
| 153 | return; |
| 154 | } |
| 155 | for (const auto &item : items) { |
| 156 | _data->requestItemViewRefresh(item); |
| 157 | item->invalidateChatListEntry(); |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | not_null<HistoryItem*> Groups::findItemToEdit( |
| 162 | not_null<HistoryItem*> item) const { |
nothing calls this directly
no test coverage detected