summary refs log tree commit diff
path: root/webclient
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-24 17:28:47 +0200
committerDavid Baker <dbkr@matrix.org>2014-09-24 17:28:47 +0200
commit7dc7c53029fccbccf291ca4c299fccfdeb8e19fb (patch)
treee72afc8690917c5f1b9b97bdcc8f5a20e178908b /webclient
parentHopefully implement turn in the web client (probably wrong for Firefox becaus... (diff)
downloadsynapse-7dc7c53029fccbccf291ca4c299fccfdeb8e19fb.tar.xz
The REST API spec only alows for returning a single server so name the
endpoint appropriately.
Diffstat (limited to '')
-rw-r--r--webclient/components/matrix/matrix-service.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/matrix/matrix-service.js b/webclient/components/matrix/matrix-service.js
index 69e6caccd3..cb827a0b4d 100644
--- a/webclient/components/matrix/matrix-service.js
+++ b/webclient/components/matrix/matrix-service.js
@@ -765,7 +765,7 @@ angular.module('matrixService', [])
         },
 
         getTurnServer: function() {
-            return doRequest("GET", "/voip/turnServers");
+            return doRequest("GET", "/voip/turnServer");
         }
 
     };