Skip to content

Use shortcode as a fallback for body when sending stickers

q234 rty requested to merge qsdfrty/neochat:use-shortcode-as-body into master

MSC2545 says that an image object's body key in the state event should default to its shortcode. Moreover, uploading stickers from many MSC2545 clients (cinny, fluffychat) generates image objects without body in the state event. Sending m.sticker events with empty bodies breaks e.g. cinny (which says the event is malformed) and mautrix-telegram (which simply does not bridge the sticker).

Merge request reports