feat: Add delivery status for Twilio Channel (#8082)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Muhsin Keloth
2023-10-11 21:17:46 +05:30
committed by GitHub
parent 88de3359a5
commit 0bc20873f6
10 changed files with 224 additions and 9 deletions

View File

@@ -201,7 +201,7 @@ export default {
return !!this.sourceId;
}
if (this.isAWhatsAppChannel) {
if (this.isAWhatsAppChannel || this.isATwilioChannel) {
return this.sourceId && this.isSent;
}
return false;
@@ -211,7 +211,7 @@ export default {
return false;
}
if (this.isAWhatsAppChannel) {
if (this.isAWhatsAppChannel || this.isATwilioChannel) {
return this.sourceId && this.isDelivered;
}
@@ -227,7 +227,7 @@ export default {
return contactLastSeenAt >= this.createdAt;
}
if (this.isAWhatsAppChannel) {
if (this.isAWhatsAppChannel || this.isATwilioChannel) {
return this.sourceId && this.isRead;
}