diff options
| author | Alexandre Kühn <aku@odoo.com> | 2019-07-08 07:56:38 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2019-07-09 12:37:07 +0000 |
| commit | f9ead39f5f8d0d2bdeeab5c10b12d26ae323b117 (patch) | |
| tree | d039ecb9b0e02bededb56584b0362cecd3ca60a5 /addons/mail/static/src/js/composers/basic_composer.js | |
| parent | 127ada424d764108abab8601f6ce0dcd140f5bad (diff) | |
[FIX] mail: rename direct message chat
Before this commit, when a direct message chat was renamed, it
crashed with the following error:
`TypeError: Cannot read property 'toLowerCase' of undefined`
This occurs because the name of the dm chat changed from the RPC
response. However, no new name was provided, thus it sets its
name to `undefined`.
Test has been adapted in order to reflect that the server does not
response with new name after RPC `channel_set_custom_name`.
closes odoo/odoo#34641
Signed-off-by: Martin Geubelle (mge) <mge@openerp.com>
Diffstat (limited to 'addons/mail/static/src/js/composers/basic_composer.js')
0 files changed, 0 insertions, 0 deletions
