On #23 we have an issue that an image relayed from matrix will produce 3 messages:
- one with the username and messagebody (before file upload)
- one with only the username (and optional caption)
- the image
But because matrix sets the message body to the filename, it appears as:
- username + filename
- username
- image
The only reference i found so far says the body is required when the message is of type m.image, and that it may be a caption, the filename, or whatever (unspecified).
I believe in that case we should consider the message body to be the image caption because that's the closest semantically, and make the body appear empty to other bridges.
On #23 we have an issue that an image relayed from matrix will produce 3 messages:
But because matrix sets the message body to the filename, it appears as:
The only reference i found so far says the body is required when the message is of type
m.image, and that it may be a caption, the filename, or whatever (unspecified).I believe in that case we should consider the message body to be the image caption because that's the closest semantically, and make the body appear empty to other bridges.