changelog
This commit is contained in:
parent
f0c76a2e7e
commit
852d937040
|
@ -1,3 +1,7 @@
|
|||
[0.2.9]
|
||||
|
||||
- create first chat with member by id = 1 if empty smembers chats_by_author/author_id
|
||||
|
||||
[0.2.8]
|
||||
- sse removed to presence service
|
||||
- bugfixes
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user