diff --git a/docs/configuring-playbook-jitsi.md b/docs/configuring-playbook-jitsi.md index c58ee85a7..a9d3c2de4 100644 --- a/docs/configuring-playbook-jitsi.md +++ b/docs/configuring-playbook-jitsi.md @@ -134,7 +134,7 @@ The playbook allows a user to set a max number of participants allowed to join a In order to set the max number of participants add the following variable to your `inventory/host_vars/matrix.DOMAIN/vars.yml` configuration: ``` -jitsi_max_participants: +matrix_prosody_jitsi_max_participants: ``` ## (Optional) Additional JVBs diff --git a/roles/custom/matrix-jitsi/defaults/main.yml b/roles/custom/matrix-jitsi/defaults/main.yml index 8369a1f02..e923055cb 100644 --- a/roles/custom/matrix-jitsi/defaults/main.yml +++ b/roles/custom/matrix-jitsi/defaults/main.yml @@ -281,4 +281,4 @@ matrix_jitsi_jvb_container_colibri_ws_host_bind_port: '' # Default max participants to the empty string # # The setting requires an integer to be set for usage and allows a user to specify the max number of particpants on a conference. -jitsi_max_participants: '' +matrix_prosody_jitsi_max_participants: '' diff --git a/roles/custom/matrix-jitsi/templates/prosody/env.j2 b/roles/custom/matrix-jitsi/templates/prosody/env.j2 index a1e87953c..147c01d79 100644 --- a/roles/custom/matrix-jitsi/templates/prosody/env.j2 +++ b/roles/custom/matrix-jitsi/templates/prosody/env.j2 @@ -58,6 +58,6 @@ XMPP_MUC_MODULES= XMPP_INTERNAL_MUC_MODULES= XMPP_RECORDER_DOMAIN={{ matrix_jitsi_recorder_domain }} XMPP_CROSS_DOMAIN=true -{% if jitsi_max_participants is number %} -MAX_PARTICIPANTS={{ jitsi_max_participants }} +{% if matrix_prosody_jitsi_max_participants is number %} +MAX_PARTICIPANTS={{ matrix_prosody_jitsi_max_participants }} {% endif %} \ No newline at end of file