Images with alt text sent on Discord should use body along with filename when bridged to Matrix #24

Closed
opened 2023-12-20 15:36:04 +00:00 by Ampflower · 1 comment

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 and filename 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

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` and `filename` 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
Ampflower changed title from Images with alt text on Discord side should use `body` along with `filename` on Matrix to Images with alt text sent on Discord should use `body` along with `filename` when bridged to Matrix 2023-12-20 18:53:21 +00:00
Owner

Thanks! Should be fixed in 60cf40680f. Tested in Element Desktop and Schildi Desktop and I see custom body field in each of them.

Thanks! Should be fixed in 60cf40680f079c34a8377b3e562dd3fcada9a8bf. Tested in Element Desktop and Schildi Desktop and I see custom `body` field in each of them.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cadence/out-of-your-element#24
No description provided.