summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-11-02 14:12:49 +0000
committerGitHub <noreply@github.com>2018-11-02 14:12:49 +0000
commit90d713b8c6b8763447e31ff02ccfe5ea73a8db50 (patch)
treec20a24d265f11bb39e9f941f6050bf6c0479d098 /synapse/federation
parentFix typing being reset causing infinite syncs (#4127) (diff)
parentNewsfile (diff)
downloadsynapse-90d713b8c6b8763447e31ff02ccfe5ea73a8db50.tar.xz
Merge pull request #4137 from matrix-org/erikj/clean_up_events
Clean up event accesses and tests
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/units.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/federation/units.py b/synapse/federation/units.py
index c5ab14314e..025a79c022 100644
--- a/synapse/federation/units.py
+++ b/synapse/federation/units.py
@@ -117,9 +117,6 @@ class Transaction(JsonEncodedObject):
                 "Require 'transaction_id' to construct a Transaction"
             )
 
-        for p in pdus:
-            p.transaction_id = kwargs["transaction_id"]
-
         kwargs["pdus"] = [p.get_pdu_json() for p in pdus]
 
         return Transaction(**kwargs)