|
@@ -6966,6 +6966,14 @@ function update_prosody_modules {
|
6966
|
6966
|
if [ -d $INSTALL_DIR/prosody-modules/mod_carbons ]; then
|
6967
|
6967
|
cp $INSTALL_DIR/prosody-modules/mod_carbons/*.lua /usr/lib/prosody/modules
|
6968
|
6968
|
fi
|
|
6969
|
+
|
|
6970
|
+ # Stream management
|
|
6971
|
+ if [ -d $INSTALL_DIR/prosody-modules/mod_smacks ]; then
|
|
6972
|
+ cp $INSTALL_DIR/prosody-modules/mod_smacks/*.lua /usr/lib/prosody/modules
|
|
6973
|
+ fi
|
|
6974
|
+ if [ -d $INSTALL_DIR/prosody-modules/mod_smacks_offline ]; then
|
|
6975
|
+ cp $INSTALL_DIR/prosody-modules/mod_smacks_offline/*.lua /usr/lib/prosody/modules
|
|
6976
|
+ fi
|
6969
|
6977
|
}
|
6970
|
6978
|
|
6971
|
6979
|
function install_xmpp {
|
|
@@ -7041,6 +7049,8 @@ function install_xmpp {
|
7041
|
7049
|
echo ' "mam"; -- Message archive management' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
7042
|
7050
|
echo ' "csi"; -- Client state indication' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
7043
|
7051
|
echo ' "carbons"; -- Message carbons' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
|
7052
|
+ echo ' "smacks"; -- Stream management' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
|
7053
|
+ echo ' "smacks_offline"; -- Stream management' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
7044
|
7054
|
echo '}' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
7045
|
7055
|
echo '' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
7046
|
7056
|
echo 'c2s_require_encryption = true' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|