diff --git a/src/Utils/messages.ts b/src/Utils/messages.ts index 860b8e1..0b6657a 100644 --- a/src/Utils/messages.ts +++ b/src/Utils/messages.ts @@ -725,10 +725,8 @@ export const updateMessageWithReaction = (msg: Pick, rea const authorID = getKeyAuthor(reaction.key) const reactions = (msg.reactions || []).filter(r => getKeyAuthor(r.key) !== authorID) - if (reaction.text) { - reactions.push(reaction) - } - + reaction.text = reaction.text || '' + reactions.push(reaction) msg.reactions = reactions }