diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-09-20 14:04:49 +0200 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-09-20 17:19:02 +0200 |
| commit | e2b41f0dfe3af5fd74dbae25c3d53d03c7b81e89 (patch) | |
| tree | b1f00ef6c61d078ec7c8243525dc45524cb6a0dc /addons/mail/static | |
| parent | 85820a25d7d04501da3d59061aa1989a41bd135c (diff) | |
[FIX] mail: add missing abstract method in AbstractThread
Diffstat (limited to 'addons/mail/static')
| -rw-r--r-- | addons/mail/static/src/js/models/threads/abstract_thread.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/mail/static/src/js/models/threads/abstract_thread.js b/addons/mail/static/src/js/models/threads/abstract_thread.js index b0a7f1d0b2e..03bddd7d945 100644 --- a/addons/mail/static/src/js/models/threads/abstract_thread.js +++ b/addons/mail/static/src/js/models/threads/abstract_thread.js @@ -191,6 +191,14 @@ var AbstractThread = Class.extend(Mixins.EventDispatcherMixin, { _postMessage: function () { return $.when(); }, + /** + * Warn views (e.g. discuss app, thread window, etc.) to update visually + * the unread counter of this thread. + * + * @abstract + * @private + */ + _warnUpdatedUnreadCounter: function () {}, }); return AbstractThread; |
