redis-multi-exec-fix-2

This commit is contained in:
2023-10-13 11:36:44 +03:00
parent dbf3d1c745
commit 25e05381cb
2 changed files with 3 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ async def create_chat(_, info, title="", members=None):
members.append(int(author_id))
await redis.execute('MULTI')
# NOTE: private chats has no title
# reuse private chat created before if exists
if len(members) == 2 and title == "":