diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-07-10 14:38:12 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2019-07-10 16:46:22 +0000 |
| commit | 545437b8998b67c8b01e95324fc2268085cc0529 (patch) | |
| tree | 9b7983db829b0ba447b4d088730de88a8aeb22ef /addons/mail/static/src/js/composers/basic_composer.js | |
| parent | 07e87e1e346d81b07e80b77edc1940c37a44f5f4 (diff) | |
[FIX] mail: show old messages /leave w/o reload
Before this commit, if we had a livechat channel with a user and:
- in backend use command "/leave" to leave and unpin conversation
- [do not reload the page (or there is no issue)]
- then the user sends a new message
The chat window opens just with the new message. Fetched previous
messages are ignored due to being already in the mail manager, and
links between these messages and the threads were never updated.
With this commit, when fetching messages that are already in the mail
manager, these messages are linked again to threads.
This commit also fixes an issue in which messages moderated with
status "accepted" were not correctly removed from the moderation
mailbox. This problem occurred after the fix on re-linking messages
to threads.
opw-2031270
closes #34761
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/js/composers/basic_composer.js')
0 files changed, 0 insertions, 0 deletions
