summary refs log tree commit diff
path: root/synapse/rest/client/v1/push_rule.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-06-10 20:32:01 +0100
committerBrendan Abolivier <babolivier@matrix.org>2020-06-10 20:32:01 +0100
commitdf3323a7cfe831813c00df32c85b983587f8529e (patch)
treeb88c6f1e01e19890fef9ef69e471ddc7fd864c4b /synapse/rest/client/v1/push_rule.py
parentChangelog (diff)
downloadsynapse-df3323a7cfe831813c00df32c85b983587f8529e.tar.xz
Use temporary prefixes as per the MSC
Diffstat (limited to 'synapse/rest/client/v1/push_rule.py')
-rw-r--r--synapse/rest/client/v1/push_rule.py2
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