| 91 | } |
| 92 | |
| 93 | RowsByLetter MainList::addEntry(Key key) { |
| 94 | const auto result = _all.addToEnd(key); |
| 95 | |
| 96 | const auto unread = key.entry()->chatListUnreadState(); |
| 97 | unreadEntryChanged(unread, true); |
| 98 | recomputeFullListSize(); |
| 99 | |
| 100 | return result; |
| 101 | } |
| 102 | |
| 103 | void MainList::removeEntry(Key key) { |
| 104 | _all.remove(key); |
no test coverage detected