diff --git a/src/freedombone b/src/freedombone index c5402bbc..de6f5236 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6966,6 +6966,14 @@ function update_prosody_modules { if [ -d $INSTALL_DIR/prosody-modules/mod_carbons ]; then cp $INSTALL_DIR/prosody-modules/mod_carbons/*.lua /usr/lib/prosody/modules fi + + # Stream management + 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 } function install_xmpp { @@ -7041,6 +7049,8 @@ function install_xmpp { echo ' "mam"; -- Message archive management' >> /etc/prosody/conf.avail/xmpp.cfg.lua echo ' "csi"; -- Client state indication' >> /etc/prosody/conf.avail/xmpp.cfg.lua echo ' "carbons"; -- Message carbons' >> /etc/prosody/conf.avail/xmpp.cfg.lua + echo ' "smacks"; -- Stream management' >> /etc/prosody/conf.avail/xmpp.cfg.lua + echo ' "smacks_offline"; -- Stream management' >> /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