mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-06-05 04:08:49 -04:00
Clean up event accesses and tests
This is in preparation to refactor FrozenEvent to support different event formats for different room versions
This commit is contained in:
parent
1b21e771d0
commit
b86d05a279
5 changed files with 7 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue