mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Store "me" user object before starting dispatcher (#1042)
This commit is contained in:
parent
d1e8b3bf1e
commit
298d361092
@ -44,8 +44,8 @@ class Initialize:
|
||||
|
||||
self.load_plugins()
|
||||
|
||||
await self.dispatcher.start()
|
||||
|
||||
self.me = await self.get_me()
|
||||
|
||||
await self.dispatcher.start()
|
||||
|
||||
self.is_initialized = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user