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
Improvements to the push
module
#1364
Conversation
I'm also planning to change the client-api's |
The change in the client-api probably makes more sense to be done before the latest commit. As it's the request's rule type that we want to insert in a |
Since there's a lot of commits, this PR can be easily reviewed commit-by-commit. |
This is based on the behavior of Synapse and Dendrite. Conduit's implementation is already non-compliant in regards to what was already defined in the spec. Closes #645. Related to #647 (probably closes it too, unless we want to be more explicit somewhere about what can be changed on default push rules). Related PR in ruma that would allow to fix Conduit's implementation: ruma/ruma#1364 Signed-off-by: Kévin Commaille zecakeh@tedomum.fr
In practice, rule insertion is more complex than adding rules at the end of the ruleset. It can be easily replaced by using the methods of IndexSet.
Rebased to solve conflicts. The spec PRs have been merged so it should be fully ready for review. |
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 a lot for working on this!
…rix-org#1319) This is based on the behavior of Synapse and Dendrite. Conduit's implementation is already non-compliant in regards to what was already defined in the spec. Closes matrix-org#645. Related to matrix-org#647 (probably closes it too, unless we want to be more explicit somewhere about what can be changed on default push rules). Related PR in ruma that would allow to fix Conduit's implementation: ruma/ruma#1364 Signed-off-by: Kévin Commaille zecakeh@tedomum.fr
See these spec PRs for the last commit's logic: matrix-org/matrix-spec#1319, matrix-org/matrix-spec#1320.
Closes #466.
Closes #467.
Preview Removed