From 2a4f71ddf41c415612e0e1bf8fe331f8ddbdd9ad Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 23 Mar 2018 10:23:25 +0000 Subject: [PATCH] Restrict room creation --- src/freedombone-app-xmpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index f8548f37..735f50ed 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -873,6 +873,7 @@ function xmpp_create_config { echo 'http_upload_file_size_limit = 307200'; echo ''; echo "Component \"chat.${DEFAULT_DOMAIN_NAME}\" \"muc\""; + echo ' restrict_room_creation = true'; echo ' name = "Chatrooms"'; echo ' modules_enabled = {'; echo ' "muc_limits";';