浏览代码

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):