From 67ea2463bcee2a035f2c777538d01cc676f2b8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Theys?= Date: Thu, 9 Dec 2021 09:44:11 +0000 Subject: [PATCH] [FIX] mail: remove obsolete _computeRingingThreads MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Oversight of https://github.com/odoo/odoo/pull/81017 closes odoo/odoo#81125 X-original-commit: f1fe1724e70301b5bca62f3ae355760c2c3fbf41 Signed-off-by: Sébastien Theys (seb) --- addons/mail/static/src/models/messaging/messaging.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/addons/mail/static/src/models/messaging/messaging.js b/addons/mail/static/src/models/messaging/messaging.js index 7cda5063bee..973a3713334 100644 --- a/addons/mail/static/src/models/messaging/messaging.js +++ b/addons/mail/static/src/models/messaging/messaging.js @@ -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 */