diff options
author | Erik Johnston <erikj@jki.re> | 2018-11-02 14:12:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-02 14:12:49 +0000 |
commit | 90d713b8c6b8763447e31ff02ccfe5ea73a8db50 (patch) | |
tree | c20a24d265f11bb39e9f941f6050bf6c0479d098 /synapse/federation | |
parent | Fix typing being reset causing infinite syncs (#4127) (diff) | |
parent | Newsfile (diff) | |
download | synapse-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.py | 3 |
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) |