diff options
author | Erik Johnston <erik@matrix.org> | 2018-11-02 13:44:12 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-11-02 13:44:14 +0000 |
commit | b86d05a279051b59d711c5a1982474994f302803 (patch) | |
tree | 9a3f3fe0da409a0181942a418e94efc2760bc397 /synapse/federation | |
parent | Merge pull request #4128 from matrix-org/erikj/state_res_v2_version (diff) | |
download | synapse-b86d05a279051b59d711c5a1982474994f302803.tar.xz |
Clean up event accesses and tests
This is in preparation to refactor FrozenEvent to support different event formats for different room versions
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) |