diff options
author | Matthew Hodgson <matthew@matrix.org> | 2017-03-15 12:22:18 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2017-03-15 12:22:18 +0000 |
commit | e0ff66251f71cb46aea30a187edc1dc027760b9e (patch) | |
tree | b3e4f4f880c78734bb185d710baae36b0ddf47e4 /synapse/rest/client | |
parent | Merge pull request #2008 from matrix-org/erikj/notifier_stats (diff) | |
download | synapse-e0ff66251f71cb46aea30a187edc1dc027760b9e.tar.xz |
add setting (on by default) to support TURN for guests
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/v1/voip.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/voip.py b/synapse/rest/client/v1/voip.py index 03141c623c..c43b30b73a 100644 --- a/synapse/rest/client/v1/voip.py +++ b/synapse/rest/client/v1/voip.py @@ -28,7 +28,10 @@ class VoipRestServlet(ClientV1RestServlet): @defer.inlineCallbacks def on_GET(self, request): - requester = yield self.auth.get_user_by_req(request) + requester = yield self.auth.get_user_by_req( + request, + self.hs.config.turn_allow_guests + ) turnUris = self.hs.config.turn_uris turnSecret = self.hs.config.turn_shared_secret |