mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-12 12:42:11 -04:00
SPEC-7: Rename 'ts' to 'origin_server_ts'
This commit is contained in:
parent
456017e0ae
commit
f5cf7ac25b
16 changed files with 42 additions and 42 deletions
|
@ -96,7 +96,7 @@ class PduCodec(object):
|
|||
if k not in ["event_id", "room_id", "type", "prev_events"]
|
||||
})
|
||||
|
||||
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())
|
||||
|
||||
return Pdu(**kwargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue