mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-19 23:11:31 -05: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