summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2016-01-20 09:56:28 +0100
committerAaron Bohy <aab@odoo.com>2016-01-25 15:46:55 +0100
commit6cc8d32d605bfce9adf2cced683db6b73c71b166 (patch)
treec77362eaa3fe0753c8450b2d4578d4f3f63048a3 /addons/mail/static/src/xml
parentf35b48aa90555a36b86e51fc304e3028bdd1ff34 (diff)
[FIX] mail: automatically consider messages sent as read
Problem was that since rev. 617968c61, we consider sent messages as read client side. This has been done to avoid to indicate that a channel has unread messages e.g. when this channel is a follower of a chatter in which we wrote a message. This change has as consequence that we don't perform the 'channel_seen' RPC for messages sent. At each refresh, the server sends information about pinned channels, especially the unread counter, which was thus sometimes incorrect. This rev. simply doesn't take messages we wrote into account when computing the message_unread_counter field. Also correctly display the 'New messages' separator in threads, by automatically skipping messages we wrote (i.e. it is now displayed above the first message m with m.id > last_message_seen_id and such that we aren't the author of m).
Diffstat (limited to 'addons/mail/static/src/xml')
0 files changed, 0 insertions, 0 deletions