Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85651176
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
872 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/stores/statuses.js b/src/stores/statuses.js
index 2b84a8788a..9c468ca55b 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) {
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Aug 30, 1:05 PM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1737990
Default Alt Text
(872 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment