mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-28 21:22:02 +00:00
Make version_string conform to User-Agent and Server spec
This commit is contained in:
parent
1df8bad63e
commit
b6771037a6
@ -261,7 +261,7 @@ def get_version_string():
|
|||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
"Synapse/v=%s,%s" % (
|
"Synapse/%s/(%s)" % (
|
||||||
synapse.__version__, git_version,
|
synapse.__version__, git_version,
|
||||||
)
|
)
|
||||||
).encode("ascii")
|
).encode("ascii")
|
||||||
|
Loading…
Reference in New Issue
Block a user