mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-11-12 16:06:36 -05:00
Oops
This commit is contained in:
parent
5383ba5587
commit
4553651138
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue