async function checkSubject({ Subject }) {
        if (Subject) {
            return;
        }

        return new Promise((resolve, reject) => {
            confirmModal.activate({
                params: {
                    title: I18N.NO_SUBJECT_TITLE,
                    message: I18N.NO_SUBJECT_MESSAGE,
                    confirm() {
                        confirmModal.deactivate().then(resolve);
                    },
                    cancel() {
                        confirmModal.deactivate().then(reject);
                    }
                }
            });
        });
    }
/**
     * Check if the subject of this message is empty
     * And ask the user to send anyway
     * @param {Object} message
     */
Check if the subject of this message is empty
And ask the user to send anyway
@param {Object} message
Check if the subject of this message is empty And ask the user to send anyway @param { Object } message
async function checkSubject({ Subject }) {
        if (Subject) {
            return;
        }
        return new Promise((resolve, reject) => {
            confirmModal.activate({
                params: {
                    title: I18N.NO_SUBJECT_TITLE,
                    message: I18N.NO_SUBJECT_MESSAGE,
                    confirm() {
                        confirmModal.deactivate().then(resolve);
                    },
                    cancel() {
                        confirmModal.deactivate().then(reject);
                    }
                }
            });
        });
    }
async function checkSubject ( { Subject } ) { if ( Subject ) { return ; } return new Promise ( ( resolve , reject ) => { confirmModal . activate ( { params : { title : I18N . NO_SUBJECT_TITLE , message : I18N . NO_SUBJECT_MESSAGE , confirm ( ) { confirmModal . deactivate ( ) . then ( resolve ) ; } , cancel ( ) { confirmModal . deactivate ( ) . then ( reject ) ; } } } ) ; } ) ; }
Check if the subject of this message is empty
 And ask the user to send anyway
 @param {Object} message
Check if the subject of this message is empty And ask the user to send anyway @param { Object } message