MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / trackReactions

Method trackReactions

Telegram/SourceFiles/api/api_unread_things.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40bool 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
45bool UnreadThings::trackPollVotes(Data::Thread *thread) const {
46 const auto peer = thread ? thread->peer().get() : nullptr;

Callers 1

Calls 5

getMethod · 0.45
peerMethod · 0.45
isUserMethod · 0.45
isChatMethod · 0.45
isMegagroupMethod · 0.45

Tested by

no test coverage detected