summary refs log tree commit diff
path: root/synapse/push/baserules.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/push/baserules.py')
-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 7a18afe5f9..c629e6beaa 100644
--- a/synapse/push/baserules.py
+++ b/synapse/push/baserules.py
@@ -244,8 +244,8 @@ BASE_APPEND_OVERRIDE_RULES = [
         'conditions': [
             {
                 'kind': 'event_match',
-                'key': 'content.body',
-                'pattern': '@room',
+                'key': 'content.formatted_body',
+                'pattern': '*https://matrix.to/#@room*',
                 '_id': '_roomnotif_content',
             },
             {