Enable xmpp modules suggested by the Conversations app readme
This commit is contained in:
parent
eb0d9f823c
commit
0e5f6daa80
|
@ -6987,7 +6987,7 @@ function update_prosody_modules {
|
|||
cp $INSTALL_DIR/prosody-modules/mod_onions/mod_onions.lua /usr/lib/prosody/modules/mod_onions.lua
|
||||
fi
|
||||
|
||||
# message archive management
|
||||
# XEP-0313 message archive management
|
||||
# https://modules.prosody.im/mod_mam.html
|
||||
# Allows you to download your previous messages onto a new client
|
||||
# This only applies if you are not using forward secret crypto
|
||||
|
@ -6996,19 +6996,19 @@ function update_prosody_modules {
|
|||
cp $INSTALL_DIR/prosody-modules/mod_mam/*.lua /usr/lib/prosody/modules
|
||||
fi
|
||||
|
||||
# Client State Indication
|
||||
# XEP-0352 Client State Indication
|
||||
# Notifies the server if the app is in the background or not
|
||||
if [ -d $INSTALL_DIR/prosody-modules/mod_csi ]; then
|
||||
cp $INSTALL_DIR/prosody-modules/mod_csi/*.lua /usr/lib/prosody/modules
|
||||
fi
|
||||
|
||||
# Message Carbons
|
||||
# XEP-0280 Message Carbons
|
||||
# Ensures all messages get delivered to all clients (if you have a mobile and desktop client)
|
||||
if [ -d $INSTALL_DIR/prosody-modules/mod_carbons ]; then
|
||||
cp $INSTALL_DIR/prosody-modules/mod_carbons/*.lua /usr/lib/prosody/modules
|
||||
fi
|
||||
|
||||
# Stream management
|
||||
# XEP-0198 Stream management
|
||||
# Helps mobile apps recover when a device switches networks.
|
||||
if [ -d $INSTALL_DIR/prosody-modules/mod_smacks ]; then
|
||||
cp $INSTALL_DIR/prosody-modules/mod_smacks/*.lua /usr/lib/prosody/modules
|
||||
|
@ -7016,6 +7016,14 @@ function update_prosody_modules {
|
|||
if [ -d $INSTALL_DIR/prosody-modules/mod_smacks_offline ]; then
|
||||
cp $INSTALL_DIR/prosody-modules/mod_smacks_offline/*.lua /usr/lib/prosody/modules
|
||||
fi
|
||||
|
||||
# XEP-0191: blocking
|
||||
if [ -d $INSTALL_DIR/prosody-modules/mod_blocking ]; then
|
||||
cp $INSTALL_DIR/prosody-modules/mod_blocking/*.lua /usr/lib/prosody/modules
|
||||
fi
|
||||
if [ -d $INSTALL_DIR/prosody-modules/mod_privacy_lists ]; then
|
||||
cp $INSTALL_DIR/prosody-modules/mod_privacy_lists/*.lua /usr/lib/prosody/modules
|
||||
fi
|
||||
}
|
||||
|
||||
function install_xmpp {
|
||||
|
@ -7094,6 +7102,10 @@ function install_xmpp {
|
|||
echo ' "smacks"; -- Stream management' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
echo ' "smacks_offline"; -- Stream management' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
echo ' "pep"; -- Personal Eventing Protocol (to support OMEMO)' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
echo ' "privacy"; -- Privacy lists' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
echo ' "blocklist"; -- Blocklist' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
echo ' "blocking"; -- Blocking command' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
echo ' "roster"; -- Roster versioning' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
echo '}' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
echo '' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
echo 'c2s_require_encryption = true' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
|
|
Loading…
Reference in New Issue