-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add a default .m.rule.tombstone push rule #4867
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #4867 +/- ##
========================================
Coverage 59.57% 59.57%
========================================
Files 326 326
Lines 33921 33921
Branches 5597 5597
========================================
Hits 20209 20209
Misses 12298 12298
Partials 1414 1414 |
1 similar comment
Codecov Report
@@ Coverage Diff @@
## develop #4867 +/- ##
========================================
Coverage 59.57% 59.57%
========================================
Files 326 326
Lines 33921 33921
Branches 5597 5597
========================================
Hits 20209 20209
Misses 12298 12298
Partials 1414 1414 |
The MSC has cleared FCP, which means this is ready for actual review. |
This won't cause clients to be told about this new push rule down sync, but OTOH presumably we don't want to bother spending the time wiring in that update functionality now? |
I didn't realize this didn't push it down sync, but I also think that's fine. The set of clients which use push rules is very small, and I think they can easily create their own default if needed. Is it difficult to try and get it through sync? |
TBH I'm not sure how easy it would be to do off the top of my head. Possibly a case of adding it to the |
I'll give it a try and see how badly I can break things |
I'm not sure how possible it is to do the background update (at least at my level). I can probably stumble my way through getting the update to work, however I don't have a good metric for progress or point of continuance when processing users. Theory was to figure out all the users which need the push rule and call For progress I wanted to do some sort of lookup for who has push notifications enabled and who doesn't have an entry for
I do have push notifications working though, and looking at another homeserver's database I can see that sometimes the push rule is there and sometimes not :( So in summary: I think it's fine to expect clients to make their own defaults, or resync, or something for this rule because writing this background update looks painful. In practice I don't think there's very many clients which actually use push rules. |
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.
lgtm
* develop: (34 commits) Add a default .m.rule.tombstone push rule (#4867) Fix infinite loop in presence handler changelog more logging improvements remove extraneous exception logging Clarify logging when PDU signature checking fails Changelog Add --no-pep-517 to README instructions set PIP_USE_PEP517 = False for tests Fix handling of SYNAPSE_NO_TLS in docker image (#5005) Config option for verifying federation certificates (MSC 1711) (#4967) Remove log error for .well-known/matrix/client (#4972) Prevent "producer not unregistered" message (#5009) add gpg key fingerprint Don't crash on lack of expiry templates Update debian install docs for new key and repo (#5074) Add management endpoints for account validity Send out emails with links to extend an account's validity period Make sure we're not registering the same 3pid twice Newsfile ...
In support of MSC1930: matrix-org/matrix-spec-proposals#1930
See also matrix-org/matrix-react-sdk#2798