| 38 | } |
| 39 | |
| 40 | bool UnreadThings::trackReactions(Data::Thread *thread) const { |
| 41 | const auto peer = thread ? thread->peer().get() : nullptr; |
| 42 | return peer && (peer->isUser() || peer->isChat() || peer->isMegagroup()); |
| 43 | } |
| 44 | |
| 45 | bool UnreadThings::trackPollVotes(Data::Thread *thread) const { |
| 46 | const auto peer = thread ? thread->peer().get() : nullptr; |
no test coverage detected