Files
odoo_source/addons/mail/models
XavierDo 54ad2f57ce [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
2018-12-11 17:36:04 +00:00
..
2018-12-10 11:59:03 +00:00
2018-12-10 13:27:20 +00:00