Images with alt text sent on Discord should use body
along with filename
when bridged to Matrix
#24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've noticed that when sending images from Discord with an alt-text/description, it isn't forwarded to Matrix at all.
Clients that support
body
andfilename
will generally display the first as the sole caption in the case of Element or both in the case of Schildi and Neochat.If there is no alt text available, the current behaviour seems to be fine as far as I can tell.
Reference of the Discord attachment object if you need: https://discord.com/developers/docs/resources/channel#attachment-object
Images with alt text on Discord side should use `body` along with `filename` on Matrixto Images with alt text sent on Discord should use `body` along with `filename` when bridged to MatrixThanks! Should be fixed in
60cf40680f
. Tested in Element Desktop and Schildi Desktop and I see custombody
field in each of them.