-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Make origin
field go away
#374
Comments
Worth noting that the spec at one point said that the If/when the change is made, there should probably be a note about |
also: |
Does this need an MSC to remove? |
yes |
It seems that there already exist some implementations which do not include an |
can the same consideration be made for |
Possibly, but if there are any implementations that omit |
Re.
I'm seeing an origin field in other places:
Are some of these also redundant? |
I'm having a hard time deciphering this. I think what I meant was: any implementation that does not send The difference between This is because Synapse does not enforce the presence of |
Links to the relevant parts of the spec would be useful, but off the top of my head: they sound like they are just special cases of |
@jplatte I found most of these references and updated the description accordingly, but I can't find what you mean with respect to the |
The response of
And the spec also uses the name "Room State" for the entire response object of the v2 endpoint. This object contains an |
Ok, that sounds like what I mean by "the body of v1 and v2 /send_join responses" in the description, so I think we've got everything on your list. Thanks! |
Ah yes, I guess just wrote all that I found, "other places" was wrong and misleading. |
To be honest I think that instance probably wasn't listed at the time you added your update - we just both found it independently! Anyway no worries, we're on the same page now. |
Updated by @richvdh 2023/05/30:
origin
is specced but redundant in:transaction
the body of a
/backfill
response.(fixed by Remove origin from unsigned_pdu_base.yaml #998)PDU
Places with a similar shape to PDU:
/make_join
responses./send_join
requests./send_join
responses (though note that synapse doesn't actually send it (unless it was included in the request??), per Missing 'origin' field when responding to send_join over federation synapse#8786)./make_knock
responses./make_leave
responses./send_leave
requests./invite
requests.The redaction algorithm of all current room versions; cf MSC3989.
For completeness:
origin
is also specced as part of theX-Matrix
authentication mechanism, where it is not redundant.Related: matrix-org/synapse#3816
The text was updated successfully, but these errors were encountered: