Skip to content

Commit

Permalink
fix bug in qrForAcc()
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Feb 5, 2024
1 parent 1987c97 commit 89892bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botcli/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func qrForAcc(cli *BotCli, bot *deltachat.Bot, cmd *cobra.Command, args []string
invert, _ := cmd.Flags().GetBool("invert")
printQr(qrdata, invert)
fragment := strings.Replace(strings.SplitN(qrdata, ":", 2)[1], "#", "&", 1)
fmt.Println("https://i.delta.chat/#%v", fragment)
fmt.Printf("https://i.delta.chat/#%v\n", fragment)
} else {
cli.Logger.Error("account not configured")
}
Expand Down

0 comments on commit 89892bb

Please sign in to comment.