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

Remove reply fallbacks #1994

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Remove reply fallbacks #1994

wants to merge 4 commits into from

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Nov 14, 2024

As per MSC2781.

Pull Request Checklist

Preview: https://pr1994--matrix-spec-previews.netlify.app

As per MSC2781.

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh requested a review from a team as a code owner November 14, 2024 10:05
Signed-off-by: Kévin Commaille <[email protected]>
@@ -0,0 +1 @@
Remove reply fallbacks, as per [MSC2781](https://github.com/matrix-org/matrix-spec-proposals/issues/2781).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should probably be a *.removal changelog, but given that the generated heading says "Endpoints Removed", it is not quite right.

Comment on lines 103 to 104
In previous versions of the specification, [rich replies](#rich-replies) could
use a special tag, `mx-reply`, this is no longer the case.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this need to mention that it should always be stripped still?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I added a sentence here.

Comment on lines +26 to +27
replies, this is no longer the case. Clients might still want to remove this
fallback before rendering the event.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think they must remove it, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is not must in the MSC. There is:

Clients […] should consider treating <mx-reply> parts as they treat other invalid html tags.

And

[…] clients may need to strip out such fallbacks.

Signed-off-by: Kévin Commaille <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants