summary refs log tree commit diff
path: root/synapse/config/voip.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/config/voip.py')
-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 3a211ae6b6..c5131d9bcd 100644
--- a/synapse/config/voip.py
+++ b/synapse/config/voip.py
@@ -19,7 +19,7 @@ class VoipConfig(Config):
 
     def __init__(self, args):
         super(VoipConfig, self).__init__(args)
-        self.turn_uris = args.turn_uris.split(",")
+        self.turn_uris = args.turn_uris.split(",") if args.turn_uris else None
         self.turn_shared_secret = args.turn_shared_secret
         self.turn_user_lifetime = args.turn_user_lifetime