summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2016-01-20 15:34:18 +0000
committerDaniel Wagner-Hall <dawagner@gmail.com>2016-01-20 15:34:18 +0000
commita2ae01cc0fca9815c90028c49536dec58bd1dc64 (patch)
treee0352a71a18f9ab5cdd52aa3e49d9cfcfd99c87d /synapse/handlers/room.py
parentMerge branch 'dbkr/no_push_for_own_events' into develop (diff)
parentAllow non-guests to peek on rooms using /events (diff)
downloadsynapse-a2ae01cc0fca9815c90028c49536dec58bd1dc64.tar.xz
Merge pull request #510 from matrix-org/daniel/nonguestpeeking
Allow non-guests to peek on rooms using /events
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 a1baf9d200..58e2d25f97 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -936,7 +936,7 @@ class RoomContextHandler(BaseHandler):
             return self._filter_events_for_client(
                 user.to_string(),
                 events,
-                is_guest=is_guest)
+                is_peeking=is_guest)
 
         event = yield self.store.get_event(event_id, get_prev_content=True,
                                            allow_none=True)