Skip to content
Snippets Groups Projects
Commit f9d4da7f authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix bug where we were leaking None into state event lists

parent 30883d84
No related branches found
No related tags found
No related merge requests found
......@@ -412,9 +412,10 @@ class StateStore(SQLBaseStore):
full=(types is None),
)
results[group].update({
# We replace here to remove all the entries with None values.
results[group] = {
key: value for key, value in state_dict.items() if value
})
}
defer.returnValue(results)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment