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

State events that fail to deserialize should not be ignored #2778

Open
zecakeh opened this issue Oct 25, 2023 · 0 comments
Open

State events that fail to deserialize should not be ignored #2778

zecakeh opened this issue Oct 25, 2023 · 0 comments

Comments

@zecakeh
Copy link
Collaborator

zecakeh commented Oct 25, 2023

This is a problem similar to #607: state events that fail to deserialize are ignored.

But usually in the spec a state event that has invalid fields in the content still replaces the previous state event. It is just treated as if there was no state event of that type to begin with.

I believe that's due to servers not having to validate the content of state events outside of state res, so they always treat any accepted state event as the current state.

Examples from the spec:

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

1 participant