| 2508 | } |
| 2509 | |
| 2510 | MessageIdsList Session::itemOrItsGroup(not_null<HistoryItem*> item) const { |
| 2511 | if (const auto group = groups().find(item)) { |
| 2512 | return itemsToIds(group->items); |
| 2513 | } |
| 2514 | return { 1, item->fullId() }; |
| 2515 | } |
| 2516 | |
| 2517 | void Session::setChatPinned( |
| 2518 | Dialogs::Key key, |
no test coverage detected