summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/types.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/types.py b/synapse/types.py
index 63154855dd..abc3031eae 100644
--- a/synapse/types.py
+++ b/synapse/types.py
@@ -115,9 +115,8 @@ class StreamToken(
             raise SynapseError(400, "Invalid Token")
 
     def to_string(self):
-        return "".join([
+        return self._SEPARATOR.join([
             str(self.events_key),
-            self._SEPARATOR,
             str(self.presence_key),
         ])