mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:36:03 -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
|
@ -58,8 +58,8 @@ class EventFactory(object):
|
|||
random_string(10), self.hs.hostname
|
||||
)
|
||||
|
||||
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())
|
||||
|
||||
# The "age" key is a delta timestamp that should be converted into an
|
||||
# absolute timestamp the minute we see it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue