Bridge the shortcode as part of reactions

This commit is contained in:
Cadence Ember 2023-09-25 20:18:57 +13:00
parent 4f807159ba
commit a396e6f596
3 changed files with 13 additions and 8 deletions

View file

@ -50,7 +50,8 @@ async function addReaction(data) {
rel_type: "m.annotation",
event_id: parentID,
key
}
},
shortcode: `:${data.emoji.name}:`
}, senderMxid)
return eventID
}