mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-28 21:18:36 -04:00
Merge branch 'develop' into event_signing
Conflicts: synapse/federation/replication.py
This commit is contained in:
commit
dc3c2823ac
21 changed files with 101 additions and 849 deletions
|
@ -95,8 +95,8 @@ class PduCodec(object):
|
|||
if k not in ["event_id", "room_id", "type"]
|
||||
})
|
||||
|
||||
if "ts" not in kwargs:
|
||||
kwargs["ts"] = int(self.clock.time_msec())
|
||||
if "origin_server_ts" not in kwargs:
|
||||
kwargs["origin_server_ts"] = int(self.clock.time_msec())
|
||||
|
||||
pdu = Pdu(**kwargs)
|
||||
pdu = add_event_pdu_content_hash(pdu)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue