Comments
This commit is contained in:
parent
b1b2e1a6e8
commit
f460e0c033
|
@ -6953,21 +6953,27 @@ function update_prosody_modules {
|
||||||
|
|
||||||
# message archive management
|
# message archive management
|
||||||
# https://modules.prosody.im/mod_mam.html
|
# 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
|
if [ -d $INSTALL_DIR/prosody-modules/mod_mam ]; then
|
||||||
cp $INSTALL_DIR/prosody-modules/mod_mam/*.lua /usr/lib/prosody/modules
|
cp $INSTALL_DIR/prosody-modules/mod_mam/*.lua /usr/lib/prosody/modules
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Client State Indication
|
# Client State Indication
|
||||||
|
# Notifies the server if the app is in the background or not
|
||||||
if [ -d $INSTALL_DIR/prosody-modules/mod_csi ]; then
|
if [ -d $INSTALL_DIR/prosody-modules/mod_csi ]; then
|
||||||
cp $INSTALL_DIR/prosody-modules/mod_csi/*.lua /usr/lib/prosody/modules
|
cp $INSTALL_DIR/prosody-modules/mod_csi/*.lua /usr/lib/prosody/modules
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Message Carbons
|
# 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
|
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/*.lua /usr/lib/prosody/modules
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Stream management
|
# Stream management
|
||||||
|
# Helps mobile apps recover when a device switches networks.
|
||||||
if [ -d $INSTALL_DIR/prosody-modules/mod_smacks ]; then
|
if [ -d $INSTALL_DIR/prosody-modules/mod_smacks ]; then
|
||||||
cp $INSTALL_DIR/prosody-modules/mod_smacks/*.lua /usr/lib/prosody/modules
|
cp $INSTALL_DIR/prosody-modules/mod_smacks/*.lua /usr/lib/prosody/modules
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue