prosody: skip recorder account unless in client mode

* prosody: skip recorder account unless in client mode
pull/1698/head
Aaron van Meerten 10 months ago committed by GitHub
parent 46b98b5a7a
commit 2915176b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      prosody/rootfs/etc/cont-init.d/10-config

@ -105,6 +105,7 @@ if [[ ! -z $JIBRI_XMPP_PASSWORD ]]; then
prosodyctl --config $PROSODY_CFG register $JIBRI_XMPP_USER $XMPP_AUTH_DOMAIN $JIBRI_XMPP_PASSWORD
fi
if [[ "$PROSODY_MODE" == "client" ]]; then
if [[ ! -z $JIBRI_RECORDER_PASSWORD ]]; then
OLD_JIBRI_RECORDER_PASSWORD=passw0rd
if [[ "$JIBRI_RECORDER_PASSWORD" == "$OLD_JIBRI_RECORDER_PASSWORD" ]]; then
@ -113,6 +114,7 @@ if [[ ! -z $JIBRI_RECORDER_PASSWORD ]]; then
fi
prosodyctl --config $PROSODY_CFG register $JIBRI_RECORDER_USER $XMPP_RECORDER_DOMAIN $JIBRI_RECORDER_PASSWORD
fi
fi
if [[ ! -z $JIGASI_XMPP_PASSWORD ]]; then
OLD_JIGASI_XMPP_PASSWORD=passw0rd

Loading…
Cancel
Save