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