summary refs log tree commit diff
path: root/synapse/handlers/room.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/handlers/room.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/handlers/room.py')
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index dd9c18df84..fdebc9c438 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -449,7 +449,7 @@ class RoomContextHandler(BaseHandler):
         now_token = yield self.hs.get_event_sources().get_current_token()
 
         def filter_evts(events):
-            return self._filter_events_for_client(
+            return self.filter_events_for_client(
                 user.to_string(),
                 events,
                 is_peeking=is_guest)