summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2015-10-06 10:23:21 -0500
committerDaniel Wagner-Hall <dawagner@gmail.com>2015-10-06 10:23:21 -0500
commitdb6e1e1fe315c2e6897ec592effc327e977d9c93 (patch)
tree07dfb622251a97c663a4ae0d06879ce67f8724c2 /synapse/config
parentMerge pull request #293 from matrix-org/markjh/remove_spamy_error_logging (diff)
parentUse space not dash as delimiter (diff)
downloadsynapse-db6e1e1fe315c2e6897ec592effc327e977d9c93.tar.xz
Merge pull request #292 from matrix-org/daniel/useragent
Allow synapse's useragent to be customized
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 4d12d49857..5c2d6bfeab 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -26,6 +26,7 @@ class ServerConfig(Config):
         self.soft_file_limit = config["soft_file_limit"]
         self.daemonize = config.get("daemonize")
         self.print_pidfile = config.get("print_pidfile")
+        self.user_agent_suffix = config.get("user_agent_suffix")
         self.use_frozen_dicts = config.get("use_frozen_dicts", True)
 
         self.listeners = config.get("listeners", [])