mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-05 20:28:48 -04:00
Fix bug in per-room message retention policies. (#7850)
This commit is contained in:
parent
85223106f3
commit
8d0097bef1
2 changed files with 2 additions and 1 deletions
|
@ -916,7 +916,7 @@ class RoomBackgroundUpdateStore(SQLBaseStore):
|
|||
retention_policy = {}
|
||||
else:
|
||||
ev = json.loads(row["json"])
|
||||
retention_policy = json.dumps(ev["content"])
|
||||
retention_policy = ev["content"]
|
||||
|
||||
self.db.simple_insert_txn(
|
||||
txn=txn,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue