feat: Add delivery reports for live chat (#8092)

This commit is contained in:
Muhsin Keloth
2023-10-12 20:48:20 +05:30
committed by GitHub
parent 5c729ccea5
commit 980013abae
5 changed files with 80 additions and 0 deletions

View File

@@ -214,6 +214,10 @@ export default {
if (this.isAWhatsAppChannel || this.isATwilioChannel) {
return this.sourceId && this.isDelivered;
}
// We will consider messages as delivered for web widget inbox if they are sent
if (this.isAWebWidgetInbox) {
return this.isSent;
}
return false;
},