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:
parent
f407f88395
commit
ec476aa293
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user