Merge remote-tracking branch 'origin/develop' into test-sqlite-memory

This commit is contained in:
Paul "LeoNerd" Evans 2014-09-15 14:15:10 +01:00
commit b0406b9ead
44 changed files with 269 additions and 108 deletions

View file

@ -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