mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-29 08:22:51 +01:00
Fix: リアクションのカスタム絵文字の情報がNoteに添付されない (#4574)
This commit is contained in:
parent
25473222cc
commit
81739af7cb
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ export const pack = async (
|
||||||
fields: { _id: false }
|
fields: { _id: false }
|
||||||
});
|
});
|
||||||
} else {
|
} 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({
|
_note.emojis = Emoji.find({
|
||||||
name: { $in: _note.emojis },
|
name: { $in: _note.emojis },
|
||||||
|
|
Loading…
Reference in a new issue