mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-08 09:41:35 +00:00
ejabberd: Automatically use coturn
Closes #2183. Tests: - Install Ejabberd. "Automatically manage audio/video call setup" is enabled. - Set a domain name and install Coturn. Ejabberd config is updated. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
b43e42ac7a
commit
7d4c3dbb67
@ -218,7 +218,7 @@ def on_domain_added(sender, domain_type, name='', description='',
|
||||
def update_turn_configuration(config: TurnConfiguration, managed=True,
|
||||
force=False):
|
||||
"""Update ejabberd's STUN/TURN server configuration."""
|
||||
if app.needs_setup():
|
||||
if not force and app.needs_setup():
|
||||
return
|
||||
|
||||
params = ['configure-turn']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user