Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images bridged from Discord with a message get deleted on Matrix's side if the message is edited #893

Open
salixor opened this issue Aug 17, 2023 · 2 comments

Comments

@salixor
Copy link

salixor commented Aug 17, 2023

Currently, there's an issue with the bridge when a Discord user sends an image with a message.

The message on Matrix's side, as expected, is split between two events : one for the text of the message, the other for the image itself. As shown below :

Discord Matrix
image image

However, if the Discord user edits their message, the edit is appended to the image event, rather than the message event. This results in the following :

Discord Matrix
image image

On a side note, the same also happens if the Discord user :

  • sends an image (with no text), which generates a m.image event
  • edits the "message" by adding some text to the image
  • in that case, there's only one event, and the m.image event is replaced
@dzaima
Copy link

dzaima commented Aug 17, 2023

duplicate of #859 & #797

@lewri
Copy link

lewri commented Sep 14, 2024

Although a duplicate, I would argue that this issue is more informative to development than #797 is though for its thorough breakdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants