-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
spec does not say that invalid m.relates_to
properties are rejected
#504
Comments
In practice it should be whatever the server would do for the wrong kind of |
Synapse currently returns a 400 with: |
this is touched on in MSC2674, but still not really answered; see matrix-org/matrix-spec-proposals#2674 (comment) |
I think I implicitly changed the behavior for this in matrix-org/synapse#11161 where it will just ignore the relation instead of error. 😢 |
This got resolved during FCP on MSC2674; it says:
However, the specced text seems to say something different:
So I think this is now a spec-bug. |
fwiw, the "ignore the thing" bit is still accurate to the MSC (it says that clients which receive an invalid relationship are to treat it as though there is no relationship). It's just the 400 error which didn't make it. |
sorry, yes. |
m.relates_to
properties are ignored
m.relates_to
properties are ignoredm.relates_to
properties are rejected
If someone tries to send an event with an
m.relates_to
property which is not an object (for example,m.relates_to: null
, per matrix-org/synapse#5404), should the server reject the attempt with a 400 error, or should them.relates_to
be ignored?The text was updated successfully, but these errors were encountered: