Fix reaction notifications (#98)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2025-08-28 17:36:24 +04:00
committed by GitHub
parent 0fc732d230
commit ff4411ca57
@@ -163,6 +163,9 @@ async function notifyReaction (
const messageAccount = await findAccount(ctx, message.creator)
if (messageAccount == null) return result
const spaceMembers = await ctx.db.getCardSpaceMembers(cardId)
if (!spaceMembers.includes(messageAccount)) return []
const reactionAccount = await findAccount(ctx, socialId)
if (reactionAccount === messageAccount) return result