Pārlūkot izejas kodu

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

jiandanfeng 6 mēneši atpakaļ
vecāks
revīzija
9aaee8ee47
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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):