Closed SethFalco closed 5 months ago
In Discord API 10 and newer, attachments must be re-supplied when the message is being edited.
I don't think that's the problem.
On Matrix, the message is split, the issue is just that the message with the attachment is being updated instead of the message with the text content.
At least in this particular scenario, the fix would just be to update the 2nd message instead of the 1st.
I wonder if fixing #769 would fix this too.
Closing this, as it's adequately described in #893, and we don't need the duplicate issues.
The message is split into multiple messages on the Matrix side. (Which is fine.) The attachments first, then the content.
But when the message is edited, the first associated message (the attachment) is edited and replaced with the text content of the edit and other messages remain intact.
Initial message from Discord, a single message that contains both content and an attachment.
How it appears in Matrix, 2 messages, first the attachment then the content.
I edit the message on the Discord side to change the content.
On Matrix, the first of the two messages is replaced with the edited content, but the attachment is lost.