changelog
This commit is contained in:
@@ -50,7 +50,7 @@ async def load_chats(_, info, limit: int = 50, offset: int = 0):
|
||||
members_online = (await redis.execute("SMEMBERS", "authors-online")) or []
|
||||
chats = []
|
||||
if len(cids) == 0:
|
||||
r = await create_chat(None, info, members=[1, int(author_id)])
|
||||
r = await create_chat(None, info, members=[1]) # member with id = 1 is discours
|
||||
cids.append(r["chat"]["id"])
|
||||
with local_session() as session:
|
||||
for cid in cids:
|
||||
|
Reference in New Issue
Block a user