summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2017-10-16 13:46:17 +0100
committerGitHub <noreply@github.com>2017-10-16 13:46:17 +0100
commit99a6c9dbf22c505287e82c5950acf4d3fc39c90a (patch)
treeb93f9ceb638396325ddcbaed4a1d261f94d0f24f
parentMerge pull request #2538 from matrix-org/erikj/media_backup (diff)
parentOmit the *s for @room notifications (diff)
downloadsynapse-99a6c9dbf22c505287e82c5950acf4d3fc39c90a.tar.xz
Merge pull request #2542 from matrix-org/dbkr/room_notif_no_glob
Omit the *s for @room notifications
-rw-r--r--synapse/push/baserules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py
index 9dce99ebec..7a18afe5f9 100644
--- a/synapse/push/baserules.py
+++ b/synapse/push/baserules.py
@@ -245,7 +245,7 @@ BASE_APPEND_OVERRIDE_RULES = [
             {
                 'kind': 'event_match',
                 'key': 'content.body',
-                'pattern': '*@room*',
+                'pattern': '@room',
                 '_id': '_roomnotif_content',
             },
             {