Merge pull request #54 from Zash/fix_qrencode

Fix create-invite --qr
This commit is contained in:
Matthew Wild 2021-07-31 19:57:54 +01:00 committed by GitHub
commit ecf3dede57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 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" "$@")

View File

@ -5,3 +5,8 @@
src: "../files/bin/"
dest: "/usr/local/bin/"
mode: 0755
- name: "Install qrencode"
apt:
name: qrencode
state: present