Skip to content
Snippets Groups Projects
Commit 81739af7 authored by MeiMei's avatar MeiMei Committed by syuilo
Browse files

Fix: リアクションのカスタム絵文字の情報がNoteに添付されない (#4574)

parent 25473222
No related branches found
No related tags found
No related merge requests found
......@@ -259,7 +259,7 @@ export const pack = async (
fields: { _id: false }
});
} else {
_note.emojis = unique(concat([_note.emojis, Object.keys(_note.reactionCounts)]));
_note.emojis = unique(concat([_note.emojis, Object.keys(_note.reactionCounts).map(x => x.replace(/:/g, ''))]));
_note.emojis = Emoji.find({
name: { $in: _note.emojis },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment