Tidying
This commit is contained in:
parent
dcb87eb63a
commit
0d98b41182
|
@ -137,65 +137,6 @@ function update_prosody_modules {
|
||||||
cd /var/lib/prosody/prosody-modules
|
cd /var/lib/prosody/prosody-modules
|
||||||
hg pull
|
hg pull
|
||||||
hg update
|
hg update
|
||||||
|
|
||||||
# support onion addresses
|
|
||||||
#if [ -f $INSTALL_DIR/prosody-modules/mod_onions/mod_onions.lua ]; then
|
|
||||||
# cp $INSTALL_DIR/prosody-modules/mod_onions/mod_onions.lua /usr/lib/prosody/modules/mod_onions.lua
|
|
||||||
#fi
|
|
||||||
|
|
||||||
# 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
|
|
||||||
# such as OTR or OMEMO (eg. OpenPGP)
|
|
||||||
#if [ -d $INSTALL_DIR/prosody-modules/mod_mam ]; then
|
|
||||||
# cp $INSTALL_DIR/prosody-modules/mod_mam/*.lua /usr/lib/prosody/modules
|
|
||||||
#fi
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
# cp $INSTALL_DIR/prosody-modules/mod_carbons_adhoc/*.lua /usr/lib/prosody/modules
|
|
||||||
# cp $INSTALL_DIR/prosody-modules/mod_carbons_copies/*.lua /usr/lib/prosody/modules
|
|
||||||
#fi
|
|
||||||
|
|
||||||
# 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
|
|
||||||
#fi
|
|
||||||
#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
|
|
||||||
|
|
||||||
# XEP-0016 Privacy lists
|
|
||||||
#if [ -d $INSTALL_DIR/prosody-modules/mod_privacy_lists ]; then
|
|
||||||
# cp $INSTALL_DIR/prosody-modules/mod_privacy_lists/*.lua /usr/lib/prosody/modules
|
|
||||||
#fi
|
|
||||||
|
|
||||||
# If offline then send messages to email
|
|
||||||
#if [ -d $INSTALL_DIR/prosody-modules/mod_offline_email ]; then
|
|
||||||
# cp $INSTALL_DIR/prosody-modules/mod_offline_email/*.lua /usr/lib/prosody/modules
|
|
||||||
#fi
|
|
||||||
#if [ -d $INSTALL_DIR/prosody-modules/mod_pep_vcard_avatar ]; then
|
|
||||||
# cp $INSTALL_DIR/prosody-modules/mod_pep_vcard_avatar/*.lua /usr/lib/prosody/modules
|
|
||||||
#fi
|
|
||||||
|
|
||||||
#if [ -d $INSTALL_DIR/prosody-modules/mod_blocking ]; then
|
|
||||||
# cp $INSTALL_DIR/prosody-modules/mod_blocking/*.lua /usr/lib/prosody/modules
|
|
||||||
#fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function upgrade_xmpp {
|
function upgrade_xmpp {
|
||||||
|
|
Loading…
Reference in New Issue