summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-19 10:34:01 +0100
committerErik Johnston <erik@matrix.org>2016-09-19 10:34:01 +0100
commit49cf205dc715608e45b9a47a250e7921d1836912 (patch)
tree06a9440a6adfe193d898869334b0e7f2d6c6b348
parentproposal for notifying on e2e events (diff)
downloadsynapse-49cf205dc715608e45b9a47a250e7921d1836912.tar.xz
_id field must uniquely identify different conditions
Diffstat (limited to '')
-rw-r--r--synapse/push/baserules.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py
index 6454fe7388..85effdfa46 100644
--- a/synapse/push/baserules.py
+++ b/synapse/push/baserules.py
@@ -305,7 +305,7 @@ BASE_APPEND_UNDERRIDE_RULES = [
                 'kind': 'event_match',
                 'key': 'type',
                 'pattern': 'm.room.encrypted',
-                '_id': '_message',
+                '_id': '_encrypted',
             }
         ],
         'actions': [
@@ -345,7 +345,7 @@ BASE_APPEND_UNDERRIDE_RULES = [
                 'kind': 'event_match',
                 'key': 'type',
                 'pattern': 'm.room.encrypted',
-                '_id': '_message',
+                '_id': '_encrypted',
             }
         ],
         'actions': [