mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:46:08 -04:00
Start fixing places that use the data store.
This commit is contained in:
parent
78b501eba6
commit
661c711765
6 changed files with 33 additions and 39 deletions
|
@ -293,7 +293,7 @@ class SQLBaseStore(object):
|
|||
def _parse_event_from_row(self, row_dict):
|
||||
d = copy.deepcopy({k: v for k, v in row.items() if v})
|
||||
d.update(json.loads(json.loads(row["unrecognized_keys"])))
|
||||
d["content"] = json.loads(d["content"})
|
||||
d["content"] = json.loads(d["content"])
|
||||
del d["unrecognized_keys"]
|
||||
|
||||
return self.event_factory.create_event(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue