mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
feat: Add delivery reports for API channel (#8116)
This commit is contained in:
@@ -214,8 +214,8 @@ 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) {
|
||||
// We will consider messages as delivered for web widget inbox and API inbox if they are sent
|
||||
if (this.isAWebWidgetInbox || this.isAPIInbox) {
|
||||
return this.isSent;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user