summary refs log tree commit diff
path: root/synapse/replication/slave/storage/presence.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/replication/slave/storage/presence.py')
-rw-r--r--synapse/replication/slave/storage/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/presence.py b/synapse/replication/slave/storage/presence.py
index f552e7c972..ad8f0c15a9 100644
--- a/synapse/replication/slave/storage/presence.py
+++ b/synapse/replication/slave/storage/presence.py
@@ -29,7 +29,7 @@ class SlavedPresenceStore(BaseSlavedStore):
 
         self._presence_on_startup = self._get_active_presence(db_conn)
 
-        self.presence_stream_cache = self.presence_stream_cache = StreamChangeCache(
+        self.presence_stream_cache = StreamChangeCache(
             "PresenceStreamChangeCache", self._presence_id_gen.get_current_token()
         )