Просмотр исходного кода

fix: Issues related to the deletion of conversation_id (#12488) (#12665)

jiandanfeng месяцев назад: 6
Родитель
Сommit
9aaee8ee47
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      api/core/app/apps/message_based_app_generator.py

+ 1 - 0
api/core/app/apps/message_based_app_generator.py

@@ -89,6 +89,7 @@ class MessageBasedAppGenerator(BaseAppGenerator):
             Conversation.id == conversation_id,
             Conversation.app_id == app_model.id,
             Conversation.status == "normal",
+            Conversation.is_deleted.is_(False),
         ]
 
         if isinstance(user, Account):