mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Make sure we don't persist the 'pruned' key
This commit is contained in:
parent
78af6bbb98
commit
b99f6eb904
@ -206,7 +206,7 @@ class DataStore(RoomMemberStore, RoomStore,
|
||||
unrec = {
|
||||
k: v
|
||||
for k, v in event.get_full_dict().items()
|
||||
if k not in vals.keys() and k is not "deleted"
|
||||
if k not in vals.keys() and k not in ["deleted", "pruned"]
|
||||
}
|
||||
vals["unrecognized_keys"] = json.dumps(unrec)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user