Skip to content

Commit ec476aa

Browse files
committed
Call get_me() before initializing the client
1 parent f407f88 commit ec476aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/methods/utilities/start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def main():
7070
await self.disconnect()
7171
raise
7272
else:
73-
await self.initialize()
7473
self.me = await self.get_me()
74+
await self.initialize()
7575

7676
return self

0 commit comments

Comments
 (0)