feat: remove feature flag checks for message reply to (#8352)

This commit is contained in:
Shivam Mishra
2023-11-15 13:05:58 +05:30
committed by GitHub
parent cd217a3f86
commit b411b6ca21
8 changed files with 3 additions and 33 deletions

View File

@@ -68,7 +68,6 @@ export default {
data() {
return {
inReplyTo: null,
allowReplyTo: window.chatwootWebChannel.allowReplyTo || false,
};
},
computed: {
@@ -91,8 +90,6 @@ export default {
return this.currentUser && this.currentUser.email;
},
hasReplyTo() {
if (!this.allowReplyTo) return false;
return (
this.inReplyTo && (this.inReplyTo.content || this.inReplyTo.attachments)
);