| 4309 | } |
| 4310 | |
| 4311 | bool IsUnreadThread(not_null<Data::Thread*> thread) { |
| 4312 | return thread->chatListBadgesState().unread; |
| 4313 | } |
| 4314 | |
| 4315 | void MarkAsReadThread(not_null<Data::Thread*> thread) { |
| 4316 | const auto readHistory = [&](not_null<History*> history) { |
no test coverage detected