fix generating the invite link
This commit is contained in:
parent
6a45a8dbce
commit
c05580b7cf
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue