summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/stats.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py
index fce0fb5a56..35d8bdb7b7 100644
--- a/synapse/storage/stats.py
+++ b/synapse/storage/stats.py
@@ -315,7 +315,8 @@ class StatsStore(StateDeltasStore):
 
         if absolute_fields is None:
             absolute_fields = {}
-        elif complete_with_stream_id is not None:
+
+        if complete_with_stream_id is not None:
             absolute_fields = absolute_fields.copy()
             absolute_fields["completed_delta_stream_id"] = complete_with_stream_id