summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--synapse/storage/state.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index c831d8d389..c9110e6304 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -417,8 +417,7 @@ class StateStore(SQLBaseStore):
         # used for bookkeeping in the cache.
         for group, state_dict in results.items():
             results[group] = {
-                key: event for key, event in state_dict.items()
-                if event
+                key: event for key, event in state_dict.items() if event
             }
 
         defer.returnValue(results)