Skip to content
Snippets Groups Projects
Commit 45536511 authored by David Baker's avatar David Baker
Browse files

Oops

parent 5383ba55
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment