Add stream management to prosody
This commit is contained in:
parent
31c345f100
commit
b1b2e1a6e8
|
@ -6966,6 +6966,14 @@ function update_prosody_modules {
|
||||||
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
|
||||||
|
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 {
|
function install_xmpp {
|
||||||
|
@ -7041,6 +7049,8 @@ function install_xmpp {
|
||||||
echo ' "mam"; -- Message archive management' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
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 ' "csi"; -- Client state indication' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||||
echo ' "carbons"; -- Message carbons' >> /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 '' >> /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
|
echo 'c2s_require_encryption = true' >> /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||||
|
|
Loading…
Reference in New Issue