aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/build/jitsi-xmpp/xmpp_prosody
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-01-28 21:47:35 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-01-28 21:47:35 +0100
commit5b53cf1673d29a7b81d552c69295f3dc7c736635 (patch)
tree3015d09994e99203fb3c060f8ef9c14cd65040a5 /app/jitsi/build/jitsi-xmpp/xmpp_prosody
parent47bcdaaf0dc6d8caaaa8bd30055420ae90cc73eb (diff)
downloadinfrastructure-5b53cf1673d29a7b81d552c69295f3dc7c736635.tar.gz
infrastructure-5b53cf1673d29a7b81d552c69295f3dc7c736635.zip
Trying to switch on a development version
Diffstat (limited to 'app/jitsi/build/jitsi-xmpp/xmpp_prosody')
-rwxr-xr-xapp/jitsi/build/jitsi-xmpp/xmpp_prosody8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/jitsi/build/jitsi-xmpp/xmpp_prosody b/app/jitsi/build/jitsi-xmpp/xmpp_prosody
index 4ae73f4..af179e5 100755
--- a/app/jitsi/build/jitsi-xmpp/xmpp_prosody
+++ b/app/jitsi/build/jitsi-xmpp/xmpp_prosody
@@ -1,3 +1,9 @@
#!/bin/bash
-cat /etc/prosody/accounts.txt | xargs -n3 prosodyctl register
+prosodyctl register focus auth.jitsi ${JICOFO_AUTH_PASSWORD}
+prosodyctl register jvb auth.jitsi ${JVB_AUTH_PASSWORD}
+
+# copied from jitsi-meet.postinst
+# Make sure the focus@auth user's roster includes the proxy component (this is idempotent)
+prosodyctl mod_roster_command subscribe focus.jitsi focus@auth.jitsi
+
exec prosody