[FIX] mail: remove obsolete _computeRingingThreads

Oversight of https://github.com/odoo/odoo/pull/81017

closes odoo/odoo#81125

X-original-commit: f1fe1724e70301b5bca62f3ae355760c2c3fbf41
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
Sébastien Theys
2021-12-09 12:05:09 +00:00
parent 4226b3b4d0
commit 67ea2463bc
@@ -187,17 +187,6 @@ registerModel({
const browserNotification = this.env.browser.Notification;
return browserNotification ? browserNotification.permission === 'default' : false;
},
/**
* @private
* @returns {mail.partner[]}
*/
_computeRingingThreads() {
if (!this.messaging) {
return;
}
const threads = this.messaging.models['mail.thread'].all().filter(thread => !!thread.rtcInvitingSession);
return replace(threads);
},
/**
* @private
*/