diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-06-10 20:32:01 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-06-10 20:32:01 +0100 |
commit | df3323a7cfe831813c00df32c85b983587f8529e (patch) | |
tree | b88c6f1e01e19890fef9ef69e471ddc7fd864c4b /synapse/rest | |
parent | Changelog (diff) | |
download | synapse-df3323a7cfe831813c00df32c85b983587f8529e.tar.xz |
Use temporary prefixes as per the MSC
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/push_rule.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/push_rule.py b/synapse/rest/client/v1/push_rule.py index c27e05d1dc..f563b3dc35 100644 --- a/synapse/rest/client/v1/push_rule.py +++ b/synapse/rest/client/v1/push_rule.py @@ -267,7 +267,7 @@ def _check_actions(actions): raise InvalidRuleException("No actions found") for a in actions: - if a in ["notify", "dont_notify", "coalesce", "mark_unread"]: + if a in ["notify", "dont_notify", "coalesce", "org.matrix.msc2625.mark_unread"]: pass elif isinstance(a, dict) and "set_tweak" in a: pass |