mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 04:04:54 -04:00
Merge remote-tracking branch 'origin/develop' into test-sqlite-memory
This commit is contained in:
commit
b0406b9ead
44 changed files with 269 additions and 108 deletions
|
@ -355,6 +355,10 @@ class SQLBaseStore(object):
|
|||
d["content"] = json.loads(d["content"])
|
||||
del d["unrecognized_keys"]
|
||||
|
||||
if "age_ts" not in d:
|
||||
# For compatibility
|
||||
d["age_ts"] = d["ts"] if "ts" in d else 0
|
||||
|
||||
return self.event_factory.create_event(
|
||||
etype=d["type"],
|
||||
**d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue