Notifications: Prevent notifications for reactions on posts (#1830)

This commit is contained in:
Alexander Zinchuk 2022-04-19 15:11:51 +02:00
parent c3e2079b69
commit 289eb692fe

View File

@ -386,6 +386,9 @@ export async function notifyAboutMessage({
if (!message.id) return;
const activeReaction = getMessageRecentReaction(message);
// Do not notify about reactions on messages that are not outgoing
if (isReaction && !activeReaction) return;
const icon = await getAvatar(chat);
const {