Browse Source

fix(prosody): Adds option to enable admins as room owners for prosody 13.0. (#2051)

Дамян Минков 1 month ago
parent
commit
c44206c603
1 changed files with 3 additions and 0 deletions
  1. 3 0
      prosody/rootfs/defaults/prosody.cfg.lua

+ 3 - 0
prosody/rootfs/defaults/prosody.cfg.lua

@@ -72,6 +72,9 @@
 -- (see http://prosody.im/doc/creating_accounts for info)
 -- Example: admins = { "user1@example.com", "user2@example.net" }
 admins = { {{ if .Env.PROSODY_ADMINS }}{{ range $index, $element := $PROSODY_ADMIN_LIST -}}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}{{ end }} }
+
+component_admins_as_room_owners = true
+
 -- Enable use of libevent for better performance under high load
 -- For more information see: http://prosody.im/doc/libevent
 --use_libevent = true;