diff options
| author | Alexandre Kühn <aku@odoo.com> | 2019-09-03 10:55:30 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2019-09-03 10:55:32 +0000 |
| commit | 923fb7aa05f0e9e0e67440073993ec36bb0f5f53 (patch) | |
| tree | d357bb69cc293f33aee2a2d28cbdbc479e8f3f7b /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 0159d71ec16de2ce40ac84bb16e35a19c857dcea (diff) | |
[FIX] im_livechat: no duplicated messages
Before this commit, when using website livechat with multiple tabs,
it may duplicate messages in the chat window.
This happens due to registering messages twice:
- once, from `/mail/chat_history`
- second, from receiving notification from master tab, via local
storage.
This commit fixes the issue by not registering messages that have
already been registered (i.e. unique ID).
opw-2052960
closes odoo/odoo#36370
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
