diff --git a/api/services/message_app_log_service.py b/api/services/message_app_log_service.py index ff07bbef91..0b1c745e1d 100644 --- a/api/services/message_app_log_service.py +++ b/api/services/message_app_log_service.py @@ -155,7 +155,7 @@ class MessageAppLogServiceBase(ABC): conversation_ids = {msg.conversation_id for msg in messages if msg.conversation_id} conversations = {} if conversation_ids: - conversation_results = session.query(Conversation).filter(Conversation.id.in_(conversation_ids)).all() + conversation_results = session.query(Conversation).where(Conversation.id.in_(conversation_ids)).all() conversations = {conv.id: conv for conv in conversation_results} for message in messages: