fix generating the invite link

This commit is contained in:
missytake 2025-04-06 00:56:05 +02:00
parent 6a45a8dbce
commit c05580b7cf
Signed by: missytake
GPG key ID: 04CC6658320518DF

View file

@ -21,7 +21,7 @@ def command(event):
snapshot = event.message_snapshot
if snapshot.text == "/generate-invite":
return snapshot.chat.send_text(snapshot.account.get_qr_code())
return snapshot.chat.send_text(snapshot.chat.account.get_qr_code())
email = snapshot.text
try:
validate_email(email, check_deliverability=False)