-
Notifications
You must be signed in to change notification settings - Fork 500
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
Replies edited on web are not shown as a reply #3517
Comments
The edited reply event has an issue with |
The behavior for editing a reply message will change. Wait for clarification of section |
Edited replies emitted by EI get this right; EW get it wrong. |
Editing a reply in EI sends |
Yeah. comparing the two - EW is sending the edit of the reply without a reply fallback in the new content (hence the original bug here). EI sends including the reply fallback, which then gets double-displayed by EW (which fails to strip the reply). So, there are two things that need to be done:
|
Interesting, I think I've seen an issue related to the first one on -web, but i'm not sure. (Though maybe it was related to reply fallbacks overall) |
I'm currently looking at a bunch of things regarding replies and rich replies, and from what I see in MSC1849, there is definitely an issue in EI: we are currently providing the fallback formatted_body to both new_content and the "compatibility" body when we should only provide in the latter. EW rightly don't strip the fallback when using new_content as it's not supposed to be there. For the former issue described here, this is indeed something I can reproduce systematically on EW alone, it happens any time someone edits a reply multiple times. At some point the fallback is simply not provided anymore in the "compatibility" body. While still an issue, this will be less noticeable the further we go on rich replies implementation. |
This message from Michael just shows up as a normal message but it is actually a reply to another message. https://matrix.to/#/!mjbDjyNsRXndKLkHIe%3Amatrix.org/%24n2RTKvjGWKL5QPqp8npnmTZaNQ1FZjrWdLuVDHU1PiQ
The text was updated successfully, but these errors were encountered: