diff --git a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue index bd72d45f3..471d10f3c 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue @@ -146,7 +146,6 @@ export default { currentUser: 'getCurrentUser', lastEmail: 'getLastEmailInSelectedChat', globalConfig: 'globalConfig/get', - isOnChatwootCloud: 'globalConfig/isOnChatwootCloud', }), currentContact() { const senderId = this.currentChat?.meta?.sender?.id; @@ -174,9 +173,6 @@ export default { return this.isATwilioWhatsAppChannel && !this.isPrivate; }, isPrivate() { - if (this.isInstagramReplyRestricted) { - return true; - } if ( this.currentChat.can_reply || this.isAWhatsAppChannel || @@ -201,16 +197,10 @@ export default { ); return !!stripped.trim(); }, - // Instagram replies are disabled on Chatwoot Cloud during the temporary - // Meta platform restriction; private notes remain available. - isInstagramReplyRestricted() { - return this.isOnChatwootCloud && this.isAnInstagramChannel; - }, isReplyRestricted() { return ( - this.isInstagramReplyRestricted || - (!this.currentChat?.can_reply && - !(this.isAWhatsAppChannel || this.isAPIInbox)) + !this.currentChat?.can_reply && + !(this.isAWhatsAppChannel || this.isAPIInbox) ); }, inboxId() { @@ -480,10 +470,7 @@ export default { return; } - if ( - !this.isInstagramReplyRestricted && - (canReply || this.isAWhatsAppChannel || this.isAPIInbox) - ) { + if (canReply || this.isAWhatsAppChannel || this.isAPIInbox) { this.replyType = REPLY_EDITOR_MODES.REPLY; } else { this.replyType = REPLY_EDITOR_MODES.NOTE; @@ -950,10 +937,7 @@ export default { this.$store.dispatch('draftMessages/setReplyEditorMode', { mode, }); - if ( - !this.isInstagramReplyRestricted && - (canReply || this.isAWhatsAppChannel || this.isAPIInbox) - ) + if (canReply || this.isAWhatsAppChannel || this.isAPIInbox) this.replyType = mode; if (this.isRecordingAudio) { this.toggleAudioRecorder();