[IMP] mail: remove useless guard 'Thread/hasComposerThreadTyping'

Thread/hasComposerThreadTyping is always set to boolean, so never `undefined`.

Task-2793280

closes odoo/odoo#86965

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Alexandre Kühn
2022-03-23 21:11:02 +01:00
parent 9c2890ac86
commit 3de3573f1e
@@ -612,7 +612,7 @@ registerModel({
* @returns {boolean|FieldCommand}
*/
_computeHasThreadTyping() {
if (this.threadView && this.threadView.hasComposerThreadTyping !== undefined) {
if (this.threadView) {
return this.threadView.hasComposerThreadTyping;
}
return clear();