Skip to content

Commit 5e11f5b

Browse files
Fix qrlogin v2
1 parent a1bd178 commit 5e11f5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/qrlogin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async def raw_handler(client, update, users, chats):
7676
)
7777

7878
if isinstance(r, raw.types.auth.LoginTokenMigrateTo):
79-
dc_option = await self.client.get_dc_option(r.dc_id, ipv6=self.ipv6)
79+
dc_option = await self.client.get_dc_option(r.dc_id, ipv6=self.client.ipv6)
8080
await self.client.session.stop()
8181

8282
self.client.session = await self.client.get_session(

0 commit comments

Comments
 (0)