Skip to content
Snippets Groups Projects
Commit 83badd7c authored by Bob Mottram's avatar Bob Mottram
Browse files

Add blacklist during xmpp upgrades

parent 1222bd3d
No related branches found
No related tags found
No related merge requests found
......@@ -469,6 +469,13 @@ function update_prosody_modules {
sed -i '/"muc_limits";/a "s2s_blacklist";' /etc/prosody/prosody.cfg.lua
sed -i 's|"s2s_blacklist";| "s2s_blacklist";|g' /etc/prosody/prosody.cfg.lua
fi
if ! grep -q "s2s_blacklist =" /etc/prosody/prosody.cfg.lua; then
xmpp_server_blacklist /etc/prosody/prosody.cfg.lua
fi
xmpp_broadcast /etc/prosody/prosody.cfg.lua
if ! grep -q "vcard_muc" /etc/prosody/prosody.cfg.lua; then
sed -i '/"mam_muc";/a "vcard_muc";' /etc/prosody/prosody.cfg.lua
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment