diff --git a/mail_send_confirmation/static/src/models/composer_view.esm.js b/mail_send_confirmation/static/src/models/composer_view.esm.js index 8fafd6190..2bb5e4897 100644 --- a/mail_send_confirmation/static/src/models/composer_view.esm.js +++ b/mail_send_confirmation/static/src/models/composer_view.esm.js @@ -15,7 +15,8 @@ patch(Composer.prototype, { this.dialogService = useService("dialog"); }, async sendMessage() { - if (this.props.type === "message") { + const thread = this.thread ?? this.message?.thread; + if (this.props.type === "message" && thread?.model !== "discuss.channel") { this.dialogService.add(ConfirmationDialog, { body: _t( "This message will be sent to external partners as well. Are you sure you would like to send this message?"