This commit is contained in:
parent
9635bb8a7c
commit
e81eabd0d0
|
@ -61,7 +61,7 @@ async def load_chats(_, info, limit: int = 50, offset: int = 0) -> Dict[str, Uni
|
|||
lock = asyncio.Lock()
|
||||
if len(cids) == 0:
|
||||
print(f"[resolvers.load] no chats for user with id={author_id}")
|
||||
r = await create_chat(None, info, members=[1]) # member with id = 1 is discours
|
||||
r = await create_chat(None, info, members=[2]) # member with id = 2 is discours
|
||||
print(f"[resolvers.load] created chat: {r['chat_id']}")
|
||||
cids.append(r["chat"]["id"])
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user