Add federation /version API

This commit is contained in:
Erik Johnston 2016-08-05 16:36:07 +01:00
parent 597c79be10
commit 24f36469bc
6 changed files with 25 additions and 9 deletions

View file

@ -285,7 +285,7 @@ def setup(config_options):
# check any extra requirements we have now we have a config
check_requirements(config)
version_string = get_version_string("Synapse", synapse)
version_string = "Synapse/" + get_version_string(synapse)
logger.info("Server hostname: %s", config.server_name)
logger.info("Server version: %s", version_string)