mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-25 05:20:51 -04:00
Initial support for MSC3931: Room version push rule feature flags (#14520)
* Add support for MSC3931: Room Version Supports push rule condition * Create experimental flag for future work, and use it to gate MSC3931 * Changelog entry
This commit is contained in:
parent
8f10c8b054
commit
3da6450327
8 changed files with 76 additions and 1 deletions
|
@ -62,6 +62,8 @@ class PushRuleEvaluatorTestCase(unittest.TestCase):
|
|||
power_levels.get("notifications", {}),
|
||||
{} if related_events is None else related_events,
|
||||
True,
|
||||
event.room_version.msc3931_push_features,
|
||||
True,
|
||||
)
|
||||
|
||||
def test_display_name(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue