diff options
| author | XavierDo <xdo@odoo.com> | 2018-12-11 16:30:12 +0000 |
|---|---|---|
| committer | XavierDo <xdo@odoo.com> | 2018-12-11 17:36:04 +0000 |
| commit | 54ad2f57ce7989990c9850bf245567af89d7bff2 (patch) | |
| tree | 8e7c9e8783d82c9475db9cfee97d0d42affdf3d7 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | e81ef3a6039212dd8b5b39b6461920101a99bce5 (diff) | |
[FIX] mail: avoid to post multiple join message on channel
When a new user is subscribed to a channel, (multi-user, without emails)
a message is posted on this channel.
The mechanic used for that is unfortunately not very reliable
Javascript will call channel_join_and_get_info every time a channel
is added (client side) even if the user is already in the channel.
This fix simply check that the action_follow actually add the
user to the channel before sending the message.
We should avoid to call channel_join_and_get_info in this case and only call
channel_info but this fix will temporary fix the issue.
closes odoo/odoo#29441
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
