mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 20:53:50 +01:00
set default for turn_allow_guests correctly
This commit is contained in:
parent
e0ff66251f
commit
5aa42d4292
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class VoipConfig(Config):
|
||||||
self.turn_username = config.get("turn_username")
|
self.turn_username = config.get("turn_username")
|
||||||
self.turn_password = config.get("turn_password")
|
self.turn_password = config.get("turn_password")
|
||||||
self.turn_user_lifetime = self.parse_duration(config["turn_user_lifetime"])
|
self.turn_user_lifetime = self.parse_duration(config["turn_user_lifetime"])
|
||||||
self.turn_allow_guests = config.get("turn_allow_guests") or True
|
self.turn_allow_guests = config.get("turn_allow_guests", True)
|
||||||
|
|
||||||
def default_config(self, **kwargs):
|
def default_config(self, **kwargs):
|
||||||
return """\
|
return """\
|
||||||
|
|
Loading…
Reference in a new issue