summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-12-16 16:00:18 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-12-16 16:00:18 +0000
commita82006954912ed96b0d47db43db44e76e5b052d6 (patch)
tree6eff31c64f926fd2e2f0adca75ccc43837cdfc26 /synapse/handlers/room.py
parentLint (diff)
downloadsynapse-a82006954912ed96b0d47db43db44e76e5b052d6.tar.xz
Incorporate review
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 7f979e5812..60b8bbc7a5 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -941,7 +941,7 @@ class RoomContextHandler(object):
         if event_filter:
             state_events = event_filter.filter(state_events)
 
-        results["state"] = state_events
+        results["state"] = yield filter_evts(state_events)
 
         # We use a dummy token here as we only care about the room portion of
         # the token, which we replace.