mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +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()
|
await self.disconnect()
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
await self.initialize()
|
|
||||||
self.me = await self.get_me()
|
self.me = await self.get_me()
|
||||||
|
await self.initialize()
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
Loading…
x
Reference in New Issue
Block a user