fix(backend): userbot follows kurigram 2.2.26, user and chat parsing is awaited, missing chat is handled

This commit is contained in:
hh committed 2026-10-14 03:55:33 +02:00
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)