We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1665654 + 99a533a commit e092a80Copy full SHA for e092a80
src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts
@@ -704,7 +704,7 @@ export class ChatwootService {
704
conversation = contactConversations.payload.find((conversation) => conversation.inbox_id == filterInbox.id);
705
this.logger.verbose(`Found conversation in reopenConversation mode: ${JSON.stringify(conversation)}`);
706
707
- if (this.provider.conversationPending) {
+ if (this.provider.conversationPending && conversation.status !== 'open') {
708
if (conversation) {
709
await client.conversations.toggleStatus({
710
accountId: this.provider.accountId,
0 commit comments