From 700be4b08f5ed49d784ddd9ee8ec4bf8b74e784e Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 28 Aug 2026 21:41:18 +0300 Subject: [PATCH] more emoji react inconsistency handling --- src/stores/statuses.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/stores/statuses.js b/src/stores/statuses.js index 2b84a8788..9c468ca55 100644 --- a/src/stores/statuses.js +++ b/src/stores/statuses.js @@ -403,6 +403,7 @@ export const useStatusesStore = defineStore('statuses', { name: emoji, count: 0, accounts: [], + account_ids: [], } const count = value ? reaction.count + 1 : reaction.count - 1 @@ -410,12 +411,14 @@ export const useStatusesStore = defineStore('statuses', { const accounts = value ? [...reaction.accounts, currentUser] : reaction.accounts.filter((acc) => acc.id !== currentUser.id) + const account_ids = accounts.map(({ id }) => id) const newReaction = { ...reaction, count, me: value, accounts, + account_ids, } if (reactionPresent && count > 0) {