feat: Update bot typing indicator based on the conversation status (#7714)

- Show the indicator if the last message is incoming and the conversation is in pending status.
- Remove list of articles displayed in the bot response.
This commit is contained in:
Pranav Raj S
2023-08-11 16:41:01 -07:00
committed by GitHub
parent cfe86d9c06
commit 6f09f20991
4 changed files with 23 additions and 5 deletions

View File

@@ -61,9 +61,8 @@ class Enterprise::MessageTemplates::ResponseBotService
end
def create_messages(response, conversation)
response, article_ids = process_response_content(response)
response = process_response_content(response)
create_outgoing_message(response, conversation)
create_outgoing_message_with_cards(article_ids, conversation) if article_ids.present?
end
def process_response_content(response)