summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-06-08 11:34:46 +0100
committerRichard van der Hoff <richard@matrix.org>2018-06-08 14:15:31 +0100
commitc6b1441c52e06b6b8c8715dd3e4d4340aac3a216 (patch)
tree6665798f4b339e7147af872a65b4167d94e629d6 /synapse/handlers/federation.py
parentfix various changelog bugs and typos (diff)
downloadsynapse-c6b1441c52e06b6b8c8715dd3e4d4340aac3a216.tar.xz
Fix event filtering in get_missing_events handler
Diffstat (limited to '')
-rw-r--r--synapse/handlers/federation.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index fcf94befb7..495ac4c648 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -1794,6 +1794,10 @@ class FederationHandler(BaseHandler):
             min_depth=min_depth,
         )
 
+        missing_events = yield self._filter_events_for_server(
+            origin, room_id, missing_events,
+        )
+
         defer.returnValue(missing_events)
 
     @defer.inlineCallbacks