summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-03-21 14:20:34 +0000
committerMark Haines <mark.haines@matrix.org>2016-03-21 14:20:34 +0000
commit58f8226c7f2aaf9ebe39703edc91ad5cf1b01112 (patch)
tree3c9bc72fdd7f9a4f4c3db604827cf692a2daa8bb /synapse/handlers
parentMerge pull request #655 from matrix-org/erikj/edu_yield (diff)
downloadsynapse-58f8226c7f2aaf9ebe39703edc91ad5cf1b01112.tar.xz
remove unused current_state variable from on_receive_pdu
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/federation.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index f599e817aa..c172877bde 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -123,7 +123,6 @@ class FederationHandler(BaseHandler):
 
         # FIXME (erikj): Awful hack to make the case where we are not currently
         # in the room work
-        current_state = None
         is_in_room = yield self.auth.check_host_in_room(
             event.room_id,
             self.server_name
@@ -187,7 +186,6 @@ class FederationHandler(BaseHandler):
                     event,
                     state=state,
                     backfilled=backfilled,
-                    current_state=current_state,
                 )
             except AuthError as e:
                 raise FederationError(