feat: disable reply to message in WhatsApp via 360 dialog (#8500)
This commit is contained in:
@@ -284,10 +284,12 @@ export default {
|
|||||||
return this.currentChat.unread_count || 0;
|
return this.currentChat.unread_count || 0;
|
||||||
},
|
},
|
||||||
inboxSupportsReplyTo() {
|
inboxSupportsReplyTo() {
|
||||||
return {
|
const incoming = this.inboxHasFeature(INBOX_FEATURES.REPLY_TO);
|
||||||
incoming: this.inboxHasFeature(INBOX_FEATURES.REPLY_TO),
|
const outgoing =
|
||||||
outgoing: this.inboxHasFeature(INBOX_FEATURES.REPLY_TO_OUTGOING),
|
this.inboxHasFeature(INBOX_FEATURES.REPLY_TO_OUTGOING) &&
|
||||||
};
|
!this.is360DialogWhatsAppChannel;
|
||||||
|
|
||||||
|
return { incoming, outgoing };
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -275,7 +275,8 @@ export default {
|
|||||||
return (
|
return (
|
||||||
this.inReplyTo?.id &&
|
this.inReplyTo?.id &&
|
||||||
!this.isPrivate &&
|
!this.isPrivate &&
|
||||||
this.inboxHasFeature(INBOX_FEATURES.REPLY_TO)
|
this.inboxHasFeature(INBOX_FEATURES.REPLY_TO) &&
|
||||||
|
!this.is360DialogWhatsAppChannel
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
showRichContentEditor() {
|
showRichContentEditor() {
|
||||||
|
|||||||
Reference in New Issue
Block a user