summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2017-03-15 12:40:13 +0000
committerMatthew Hodgson <matthew@matrix.org>2017-03-15 12:40:13 +0000
commit5aa42d429262fe44a4f02ea55c885eb1b3402359 (patch)
treea3f998284d948661e6348983ad7714b388d5c3a9
parentadd setting (on by default) to support TURN for guests (diff)
downloadsynapse-5aa42d429262fe44a4f02ea55c885eb1b3402359.tar.xz
set default for turn_allow_guests correctly
Diffstat (limited to '')
-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 c93c92d177..cf4274b618 100644
--- a/synapse/config/voip.py
+++ b/synapse/config/voip.py
@@ -23,7 +23,7 @@ class VoipConfig(Config):
         self.turn_username = config.get("turn_username")
         self.turn_password = config.get("turn_password")
         self.turn_user_lifetime = self.parse_duration(config["turn_user_lifetime"])
-        self.turn_allow_guests = config.get("turn_allow_guests") or True
+        self.turn_allow_guests = config.get("turn_allow_guests", True)
 
     def default_config(self, **kwargs):
         return """\