EZQMS-350: fix reactions in threads (#3935)

Signed-off-by: Anna No <anna.no@xored.com>
This commit is contained in:
Anna No 2023-11-03 15:35:31 +07:00 committed by GitHub
parent 136b9cb7e9
commit 67d63e5d28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@
const dispatch = createEventDispatcher()
const lookup = {
_id: { attachments: attachment.class.Attachment },
_id: { attachments: attachment.class.Attachment, reactions: chunter.class.Reaction },
createBy: core.class.Account
}
@ -67,10 +67,7 @@
},
(res) => (parent = res[0]),
{
lookup: {
_id: { attachments: attachment.class.Attachment },
createBy: core.class.Account
}
lookup
}
)
}