diff options
| author | Sébastien Theys <seb@odoo.com> | 2020-09-02 12:21:07 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2020-09-03 09:33:38 +0000 |
| commit | 781bf9ec2eb5606d76ba3afa61cf06b5c3ac85fc (patch) | |
| tree | 63e4553759b13830bf82a915a74353c02b081464 /addons/mail/static/src/components/chat_window | |
| parent | 45ba62817d8a82129a2bae44cae9e3757529bdce (diff) | |
[FIX] mail: add open chat when clicking on author im status icon
task-2329538
closes odoo/odoo#57006
X-original-commit: bfb8d99baaadedb2d0492b6f378b13b3330d496a
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/chat_window')
| -rw-r--r-- | addons/mail/static/src/components/chat_window/chat_window.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/mail/static/src/components/chat_window/chat_window.js b/addons/mail/static/src/components/chat_window/chat_window.js index 7f9b53d2670..43353c6086f 100644 --- a/addons/mail/static/src/components/chat_window/chat_window.js +++ b/addons/mail/static/src/components/chat_window/chat_window.js @@ -226,6 +226,9 @@ class ChatWindow extends Component { if (isEventHandled(ev, 'Message.authorOpenProfile')) { return; } + if (isEventHandled(ev, 'PartnerImStatusIcon.openChat')) { + return; + } this.chatWindow.focus(); } |
