create-invite: Fix that --qr was also passed to prosodyctl

This commit is contained in:
Kim Alvefur 2021-07-31 19:23:49 +02:00
parent a163990ef8
commit 89b8c7dfc7
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
SHOW_QR=0
if [ "$1" == "--qr" ]; then
SHOW_QR=1;
shift;
fi
URL=$(prosodyctl mod_invites generate "$SNIKKET_DOMAIN" "$@")