Fix web/handlers/invites.go

Co-authored-by: Henry <111202+cryptix@users.noreply.github.com>
This commit is contained in:
André Staltz 2021-04-06 13:17:50 +03:00 committed by GitHub
parent 4a066fd7e5
commit 106e961ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ func (h inviteHandler) presentFacade(rw http.ResponseWriter, req *http.Request)
fallbackURL := urlTo(router.CompleteInviteFacadeFallback, "token", token)
// generate a QR code with the token inside so that you can open it easily in a supporting mobile app
qrCode, err := qrcode.New(joinRoomURI, qrcode.Medium)
qrCode, err := qrcode.New(string(joinRoomURI), qrcode.Medium)
if err != nil {
return nil, err
}