mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 09:39:27 -05:00
The config is not hierarchical
This commit is contained in:
parent
14ed6799d7
commit
c96ab4fcbb
@ -30,9 +30,9 @@ class VoipRestServlet(RestServlet):
|
|||||||
def on_GET(self, request):
|
def on_GET(self, request):
|
||||||
auth_user = yield self.auth.get_user_by_req(request)
|
auth_user = yield self.auth.get_user_by_req(request)
|
||||||
|
|
||||||
turnUri = self.hs.config.voip.turn_uri
|
turnUri = self.hs.config.turn_uri
|
||||||
turnSecret = self.hs.config.voip.turn_shared_secret
|
turnSecret = self.hs.config.turn_shared_secret
|
||||||
userLifetime = self.hs.config.voip.turn_user_lifetime
|
userLifetime = self.hs.config.turn_user_lifetime
|
||||||
if not turnUri or not turnSecret or not userLifetime:
|
if not turnUri or not turnSecret or not userLifetime:
|
||||||
defer.returnValue( (200, {"uris": []}) )
|
defer.returnValue( (200, {"uris": []}) )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user