forked from Mirrors/gomuks
web/emoji: wrap reaction shortcode in ::
This commit is contained in:
parent
ceb26a0e14
commit
4968dcc8d2
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ export function emojiToReactionContent(emoji: PartialEmoji, evtID: EventID): Rea
|
|||
},
|
||||
}
|
||||
if (emoji.u?.startsWith("mxc://") && emoji.n) {
|
||||
content["com.beeper.reaction.shortcode"] = emoji.n
|
||||
content["com.beeper.reaction.shortcode"] = `:${emoji.n}:`
|
||||
}
|
||||
return content
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue