summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-02-24 20:57:58 +0000
committerDavid Baker <dave@matrix.org>2015-02-24 20:57:58 +0000
commit255f989c7bc20d17ec37fed00cb2d107553d6f73 (patch)
treecc145356b2793dbe4d79c04ef512b4a6235fb7d6
parentFix YAML syntax of turn config example (diff)
downloadsynapse-255f989c7bc20d17ec37fed00cb2d107553d6f73.tar.xz
turns uris config options should append since it's a list
-rw-r--r--synapse/config/voip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/voip.py b/synapse/config/voip.py
index a2b822719f..65162d21b7 100644
--- a/synapse/config/voip.py
+++ b/synapse/config/voip.py
@@ -28,7 +28,7 @@ class VoipConfig(Config):
         super(VoipConfig, cls).add_arguments(parser)
         group = parser.add_argument_group("voip")
         group.add_argument(
-            "--turn-uris", type=str, default=None,
+            "--turn-uris", type=str, default=None, action='append',
             help="The public URIs of the TURN server to give to clients"
         )
         group.add_argument(