Make sure we don't persist the 'pruned' key

This commit is contained in:
Erik Johnston 2014-09-23 15:29:27 +01:00
parent 78af6bbb98
commit b99f6eb904
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ class DataStore(RoomMemberStore, RoomStore,
unrec = { unrec = {
k: v k: v
for k, v in event.get_full_dict().items() 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) vals["unrecognized_keys"] = json.dumps(unrec)