mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-04 11:00:46 +00:00
feat: hide reactions in private chats
This commit is contained in:
@@ -53,6 +53,9 @@ bool UnreadThings::trackReactions(Data::Thread *thread) const {
|
||||
if (peer->isMegagroup() && !settings.showGroupReactions()) {
|
||||
return false;
|
||||
}
|
||||
if (peer->isUser() && !settings.showPrivateChatReactions()) {
|
||||
return false;
|
||||
}
|
||||
return peer->isUser() || peer->isChat() || peer->isMegagroup();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user