summary refs log tree commit diff
path: root/synapse
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 11:34:46 +0100
commit0834b49c6a9b6c597a154d4b2dfcf8fff90699ec (patch)
tree1988878ff1d3c771ad5f2126badc148271b8ad55 /synapse
parentMerge pull request #3344 from Half-Shot/hs/as-metrics (diff)
downloadsynapse-0834b49c6a9b6c597a154d4b2dfcf8fff90699ec.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