[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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user