-
Notifications
You must be signed in to change notification settings - Fork 186
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
Implement MSC4141: Add time and day push rule condition #16858
base: develop
Are you sure you want to change the base?
Implement MSC4141: Add time and day push rule condition #16858
Conversation
050d2bf
to
2b70923
Compare
2b70923
to
933e886
Compare
Hi @hanadi92. Thanks for your ongoing work here - nice to see rust contributions in Synapse! This is just a nudge to ask whether you plan to continue working on this PR? 🙂 |
Hey @anoadragon453, thanks for the ping. To be honest, I don't know how to proceed here. Please advise 🙂 |
@hanadi92 to resolve this situation, I would make a decision on which direction to take regarding the day-of-week specification (0-6, 1-7, 0-7) and then create a new MSC with the modified text (as Kerry has stopped updating that MSC). The SCT will then vote to close to old one. Be sure to link back to the old MSC so people can find the old discussions. Then update this implementation PR with the new MSC number. As others have said in the linked discussion, I would also advise going for a mapping of 0-6 or 1-7 for the days of the week, rather than having Sunday map to two days. (Otherwise you'll end up having an enum with |
# Conflicts: # rust/Cargo.toml # synapse/config/experimental.py
8c9aa73
to
fe9f9a8
Compare
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.
I have no concerns with this approach, and happy that if the MSC is accepted we'll be able to implement.
I don't think we'll want to land this before the MSC progresses, but I'm happy that this proves that the MSC is implementable.
thanks for the review! @erikjohnston even if we had the default value for this feature as False? |
This is an implementation for MSC4141: Time based notification filtering which allows adding a don't disturb interval of time among days of the week as a condition to the master push rule.
p.s. This was an Implementation for MSC3767 Time Based Notification Filtering but it didn't have specs for the day-of-week, therefore, MSC4141 was created.
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.(run the linters)
Signed-off: Hanadi @hanadi92