-
Couldn't load subscription status.
- Fork 59
Remove origin from events and assertions
#1293
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
Conversation
Related to: matrix-org/matrix-spec#998 Setting `origin` field in PDUs is not required anymore, so I've removed assertions and assignments to this field.
|
Apparently, Dendrite is no happy with this change. |
Probably worth opening a Dendrite bug (if there isn't one for this already).
Sounds reasonable. |
If you take this path, please can you comment the places we set |
lib/SyTest/Federation/Client.pm
Outdated
| auth_events content depth prev_events room_id sender | ||
| state_key type ) ), | ||
|
|
||
| # The spec does not require the origin field, but Dendrite does. This can be removed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@richvdh Is this similar to what you were expecting? Let me know if you want me to change the message. Thanks!
|
matrix-org/dendrite#2737 Please hold off on doing anything until we get these landed. |
This reverts commit aed2b10.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, this should be OK now that we've fixed Dendrite. I have reverted aed2b10 — LGTM if CI is green.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Neil A for the prompt response!
Related to: matrix-org/matrix-spec#998
Setting
originfield in events/PDUs is not required any more, so I've removed assertions and assignments to this field.