chore: Adds hasConversation flag in chatwoot:on-start-conversation event (#8132)
This commit is contained in:
@@ -101,6 +101,7 @@ export default {
|
||||
IFrameHelper.sendMessage({
|
||||
event: 'onEvent',
|
||||
eventIdentifier: CHATWOOT_ON_START_CONVERSATION,
|
||||
data: { hasConversation: true },
|
||||
});
|
||||
},
|
||||
async sendTranscript() {
|
||||
|
||||
@@ -89,6 +89,7 @@ export default {
|
||||
IFrameHelper.sendMessage({
|
||||
event: 'onEvent',
|
||||
eventIdentifier: CHATWOOT_ON_START_CONVERSATION,
|
||||
data: { hasConversation: false },
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user