summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2018-06-08 13:19:15 +0100
committerGitHub <noreply@github.com>2018-06-08 13:19:15 +0100
commitad9edd1d968f19dd4d7c65102fe552076ca9bc5a (patch)
tree1a34cb57fb35fc92570bd73907ca5619ba09bc0b /synapse
parentfix various changelog bugs and typos (diff)
parentFix event filtering in get_missing_events handler (diff)
downloadsynapse-ad9edd1d968f19dd4d7c65102fe552076ca9bc5a.tar.xz
Merge pull request #3371 from matrix-org/rav/fix_get_missing_events
Fix event filtering in get_missing_events handler
Diffstat (limited to 'synapse')
-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