summary refs log tree commit diff
path: root/synapse/rest/voip.py
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-24 17:04:33 +0200
committerDavid Baker <dbkr@matrix.org>2014-09-24 17:04:33 +0200
commit455365113878632774d12039cb6ab362d6d16416 (patch)
treea2cd0fe344d7625a6b020bcc92a450f626996e59 /synapse/rest/voip.py
parentrename endpoint to better reflect what it is and allow specifying multiple uris (diff)
downloadsynapse-455365113878632774d12039cb6ab362d6d16416.tar.xz
Oops
Diffstat (limited to '')
-rw-r--r--synapse/rest/voip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/voip.py b/synapse/rest/voip.py
index 31f3fd100d..a3a8842cb6 100644
--- a/synapse/rest/voip.py
+++ b/synapse/rest/voip.py
@@ -33,7 +33,7 @@ class VoipRestServlet(RestServlet):
         turnUris = self.hs.config.turn_uris
         turnSecret = self.hs.config.turn_shared_secret
         userLifetime = self.hs.config.turn_user_lifetime
-        if not turnUri or not turnSecret or not userLifetime:
+        if not turnUris or not turnSecret or not userLifetime:
             defer.returnValue( (200, {"uris": []}) )
 
         expiry = self.hs.get_clock().time_msec() + userLifetime