mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 16:04:50 -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
|
@ -361,7 +361,7 @@ class SQLBaseStore(object):
|
|||
|
||||
if "age_ts" not in d:
|
||||
# For compatibility
|
||||
d["age_ts"] = d["ts"] if "ts" in d else 0
|
||||
d["age_ts"] = d["origin_server_ts"] if "origin_server_ts" in d else 0
|
||||
|
||||
return self.event_factory.create_event(
|
||||
etype=d["type"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue