summary refs log tree commit diff
path: root/synapse/notifier.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-04-27 17:50:49 +0100
committerDavid Baker <dave@matrix.org>2016-04-27 17:50:49 +0100
commit424a7f48f8d5cdb97ec3567d6841cecbf65ffda2 (patch)
tree24c7be8cdcd3a88d6913fd5d2e72593e797563e6 /synapse/notifier.py
parentMake html messages work (diff)
downloadsynapse-424a7f48f8d5cdb97ec3567d6841cecbf65ffda2.tar.xz
Run filter_events_for_client
so we don't accidentally mail out events people shouldn't see
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r--synapse/notifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 6af7a8f424..cb58dfffd4 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -399,7 +399,7 @@ class Notifier(object):
 
                 if name == "room":
                     room_member_handler = self.hs.get_handlers().room_member_handler
-                    new_events = yield room_member_handler._filter_events_for_client(
+                    new_events = yield room_member_handler.filter_events_for_client(
                         user.to_string(),
                         new_events,
                         is_peeking=is_peeking,