소스 검색

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

jiandanfeng 3 달 전
부모
커밋
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):