mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Comment dummy TURN parameters in default config
This default config is parsed and used a base before the actual config is overlaid, so with these values not commented out, the code to detect when no turn params were set and refuse to generate credentials was never firing because the dummy default was always set.
This commit is contained in:
parent
129ffd7b88
commit
36f4fd3e1e
1
changelog.d/3511.bugfix
Normal file
1
changelog.d/3511.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Don't generate TURN credentials if no TURN config options are set
|
@ -30,10 +30,10 @@ class VoipConfig(Config):
|
|||||||
## Turn ##
|
## Turn ##
|
||||||
|
|
||||||
# The public URIs of the TURN server to give to clients
|
# The public URIs of the TURN server to give to clients
|
||||||
turn_uris: []
|
#turn_uris: []
|
||||||
|
|
||||||
# The shared secret used to compute passwords for the TURN server
|
# The shared secret used to compute passwords for the TURN server
|
||||||
turn_shared_secret: "YOUR_SHARED_SECRET"
|
#turn_shared_secret: "YOUR_SHARED_SECRET"
|
||||||
|
|
||||||
# The Username and password if the TURN server needs them and
|
# The Username and password if the TURN server needs them and
|
||||||
# does not use a token
|
# does not use a token
|
||||||
|
Loading…
Reference in New Issue
Block a user