Ver código fonte

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

jiandanfeng 3 meses atrás
pai
commit
9aaee8ee47
1 arquivos alterados com 1 adições e 0 exclusões
  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):