Connect before requesting QR

pull/1/head
hikariatama 2023-03-02 13:12:15 +00:00
parent e917222ff6
commit 8566a39a11
1 changed files with 1 additions and 0 deletions

View File

@ -547,6 +547,7 @@ class Hikka:
self.clients += [client] self.clients += [client]
return True return True
await client.connect()
qr_login = await client.qr_login() qr_login = await client.qr_login()
def print_qr(): def print_qr():