summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-04-12 11:58:04 +0100
committerErik Johnston <erik@matrix.org>2016-04-12 11:58:04 +0100
commit762ada1e079350df46fc8e1c923b7c5beeb533c0 (patch)
treefd030999cf947b9bbb5806ef55617432d465a18a /synapse/handlers
parentAdd comment (diff)
downloadsynapse-762ada1e079350df46fc8e1c923b7c5beeb533c0.tar.xz
Add back backfilled parameter that was removed
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/federation.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 654fd3829f..cb56733b92 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -1090,7 +1090,8 @@ class FederationHandler(BaseHandler):
 
     @defer.inlineCallbacks
     @log_function
-    def _handle_new_event(self, origin, event, state=None, auth_events=None):
+    def _handle_new_event(self, origin, event, state=None, auth_events=None,
+                          backfilled=False):
         context = yield self._prep_event(
             origin, event,
             state=state,
@@ -1106,6 +1107,7 @@ class FederationHandler(BaseHandler):
         event_stream_id, max_stream_id = yield self.store.persist_event(
             event,
             context=context,
+            backfilled=backfilled,
         )
 
         # this intentionally does not yield: we don't care about the result