Skip to content

Commit b40fb2b

Browse files
committed
fix invite URL printing: now core returns the invite URL
1 parent 055f3cf commit b40fb2b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

deltabot_cli/cli.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,7 @@ def _qr_cmd_for_acc(bot: Bot, accid: int) -> None:
331331
code = qrcode.QRCode()
332332
code.add_data(qrdata)
333333
code.print_ascii(invert=True)
334-
fragment = qrdata.split(":", maxsplit=1)[1].replace("#", "&", 1)
335-
print(f"https://i.delta.chat/#{fragment}")
334+
print(qrdata)
336335
else:
337336
bot.logger.error("account not configured")
338337

0 commit comments

Comments
 (0)