summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-11-17 10:41:35 +0000
committerMark Haines <mark.haines@matrix.org>2014-11-17 10:41:35 +0000
commit2eaf689f712436a38eda78a831637672a4fcde12 (patch)
tree42c8f1f7e943b563a300cf6105bc1bcbe7e80d4b /synapse/handlers
parentMerge pull request #14 from matrix-org/merge_pdu_event_objects (diff)
downloadsynapse-2eaf689f712436a38eda78a831637672a4fcde12.tar.xz
These lines aren't doing anything
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/federation.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index da38f34e6a..492005a170 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -140,9 +140,6 @@ class FederationHandler(BaseHandler):
             )
             event = redacted_event
 
-        if state:
-            state = [p for p in state]
-
         is_new_state = yield self.state_handler.annotate_event_with_state(
             event,
             old_state=state
@@ -307,8 +304,6 @@ class FederationHandler(BaseHandler):
                 event
             )
 
-            state = [p for p in state]
-
             logger.debug("do_invite_join state: %s", state)
 
             yield self.state_handler.annotate_event_with_state(