diff --git a/plinth/modules/coturn/__init__.py b/plinth/modules/coturn/__init__.py index d5309d8f6..4138dff5e 100644 --- a/plinth/modules/coturn/__init__.py +++ b/plinth/modules/coturn/__init__.py @@ -115,6 +115,10 @@ def get_domain(): def get_domains(): """Return a list with the configured domains.""" + setup_helper = globals()['setup_helper'] + if setup_helper.get_state() == 'needs-setup': + return [] + domain = get_domain() if domain: return [domain]