mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 04:12:50 +02:00
Fix m->d then d->m reactions not merging
This commit is contained in:
parent
edf60bcd2d
commit
2c15468c22
7 changed files with 17 additions and 7 deletions
|
@ -25,7 +25,7 @@ async function addReaction(data) {
|
|||
if (!parentID) return // Nothing can be done if the parent message was never bridged.
|
||||
assert.equal(typeof parentID, "string")
|
||||
|
||||
const key = await emojiToKey.emojiToKey(data.emoji)
|
||||
const key = await emojiToKey.emojiToKey(data.emoji, data.message_id)
|
||||
const shortcode = key.startsWith("mxc://") ? `:${data.emoji.name}:` : undefined
|
||||
|
||||
const roomID = await createRoom.ensureRoom(data.channel_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue