2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Call get_me() before initializing the client

This commit is contained in:
Dan 2022-09-23 09:50:11 +02:00
parent f407f88395
commit ec476aa293

View File

@ -70,7 +70,7 @@ class Start:
await self.disconnect()
raise
else:
await self.initialize()
self.me = await self.get_me()
await self.initialize()
return self