diff options
| author | Alexandre Kühn <aku@odoo.com> | 2020-12-03 13:32:50 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2020-12-05 22:49:48 +0000 |
| commit | 37ebf84e6fe4647661207f1a9edc1578baf24931 (patch) | |
| tree | 8fdeada6e624d56f1ec0c58b5db465d8598847b6 /addons/mail/static/src/models/messaging_notification_handler | |
| parent | c52c738f4229cf87d6c5ec785804def25174d208 (diff) | |
[FIX] mail: ignore partner notification with unsupported `type`
Task-2411800
closes odoo/odoo#62930
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/messaging_notification_handler')
| -rw-r--r-- | addons/mail/static/src/models/messaging_notification_handler/messaging_notification_handler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/models/messaging_notification_handler/messaging_notification_handler.js b/addons/mail/static/src/models/messaging_notification_handler/messaging_notification_handler.js index b819b031e15..eb3c79fa88f 100644 --- a/addons/mail/static/src/models/messaging_notification_handler/messaging_notification_handler.js +++ b/addons/mail/static/src/models/messaging_notification_handler/messaging_notification_handler.js @@ -445,7 +445,7 @@ function factory(dependencies) { return this._handleNotificationPartnerUnsubscribe(data.id); } else if (type === 'user_connection') { return this._handleNotificationPartnerUserConnection(data); - } else { + } else if (!type) { return this._handleNotificationPartnerChannel(data); } } |
