fix(backend): userbot follows kurigram 2.2.26, user and chat parsing is awaited, missing chat is handled
This commit is contained in:
1 parent
d213dfdf64
commit
945adcf879
11 files changed
+13
-11
No files matched your search
@@ -46,7 +46,7 @@ async def _save_found(
|
||||
source = _source(peer, users, chats)
|
||||
if source is None:
|
||||
return None
|
||||
chat = Chat._parse_chat(client, source) # noqa: SLF001
|
||||
chat = await Chat._parse_chat(client, source) # noqa: SLF001
|
||||
if chat is None or chat.id is None:
|
||||
return None
|
||||
await save_chat(ctx, chat)
|
||||
|
||||
Reference in new issue
Block a user