mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-07 10:25:40 +02:00
Use str.join() properly
This commit is contained in:
parent
20d0db6cfb
commit
d4145abd33
1 changed files with 1 additions and 2 deletions
|
@ -115,9 +115,8 @@ class StreamToken(
|
||||||
raise SynapseError(400, "Invalid Token")
|
raise SynapseError(400, "Invalid Token")
|
||||||
|
|
||||||
def to_string(self):
|
def to_string(self):
|
||||||
return "".join([
|
return self._SEPARATOR.join([
|
||||||
str(self.events_key),
|
str(self.events_key),
|
||||||
self._SEPARATOR,
|
|
||||||
str(self.presence_key),
|
str(self.presence_key),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue