aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/build/jitsi-xmpp/xmpp_prosody
diff options
context:
space:
mode:
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