summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2016-02-05 14:08:05 +0100
committerAaron Bohy <aab@odoo.com>2016-02-08 08:29:52 +0100
commitbc2d86e00f263d9583fb66ae0d451cf911474a7b (patch)
tree7cee62cce5cefe10784261c21031acc640c58115 /addons/mail/static/src/xml
parent2b436246665e639c6ad6a76e3f70a407026d5586 (diff)
[FIX] mail: correctly compute unread messages
Two problems occured: - when the user hadn't seen any messages of a channel, the seen_message_id was null and doing seen_message_id < msg.id to retrieve all messages received after the last one seen didn't return any message (null < x is always false) - messages sent by visitor on the livechat doesn't have any author_id, so, again, doing msg.author_id != partner_id is always false, and as a consequence, server-side, the messages sent by visitors were always considered as read
Diffstat (limited to 'addons/mail/static/src/xml')
0 files changed, 0 insertions, 0 deletions