summary refs log tree commit diff
path: root/synapse/handlers/_base.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/_base.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/_base.py')
-rw-r--r--synapse/handlers/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py
index 13a675b208..134729069a 100644
--- a/synapse/handlers/_base.py
+++ b/synapse/handlers/_base.py
@@ -192,7 +192,7 @@ class BaseHandler(object):
         })
 
     @defer.inlineCallbacks
-    def _filter_events_for_client(self, user_id, events, is_peeking=False):
+    def filter_events_for_client(self, user_id, events, is_peeking=False):
         """
         Check which events a user is allowed to see