diff --git a/web/src/api/types/mxtypes.ts b/web/src/api/types/mxtypes.ts index 814725d..9c10ad1 100644 --- a/web/src/api/types/mxtypes.ts +++ b/web/src/api/types/mxtypes.ts @@ -131,7 +131,7 @@ export interface ReactionEventContent { event_id: EventID key: string } - "com.beeper.emoji.shortcode"?: string + "com.beeper.reaction.shortcode"?: string } export interface EncryptedFile { diff --git a/web/src/util/emoji/index.ts b/web/src/util/emoji/index.ts index 7815516..732d29c 100644 --- a/web/src/util/emoji/index.ts +++ b/web/src/util/emoji/index.ts @@ -97,7 +97,7 @@ export function emojiToReactionContent(emoji: PartialEmoji, evtID: EventID): Rea }, } if (emoji.u?.startsWith("mxc://") && emoji.n) { - content["com.beeper.emoji.shortcode"] = emoji.n + content["com.beeper.reaction.shortcode"] = emoji.n } return content }