diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-03-10 18:33:30 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-03-10 18:33:30 +0100 |
| commit | 9eccc71a14f31924896fbb09acfac13c90c50fc6 (patch) | |
| tree | c8402ecc257f791582c26f961ce1ef800ede59ad /addons/mail/static/src/js/mail.js | |
| parent | ef020a257424ae9be06201dafe4bf5db66c8c5f5 (diff) | |
| parent | c0496ed03a28e062817dc89450ad77fdcbe30bc6 (diff) | |
[MERGE] forward port of branch 8.0 up to c0496ed
Diffstat (limited to 'addons/mail/static/src/js/mail.js')
| -rw-r--r-- | addons/mail/static/src/js/mail.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index d54ad6176b1..86fd68b7d49 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -800,7 +800,8 @@ openerp.mail = function (session) { _.each(messages, function (thread) { if (thread.author_id && !thread.author_id[0] && - !_.find(self.recipients, function (recipient) {return recipient.email_address == thread.author_id[3];})) { + !_.find(self.recipients, function (recipient) {return recipient.email_address == thread.author_id[3];}) && + _.some([thread.author_id[1], thread.author_id[2], thread.author_id[3]])) { self.recipients.push({ 'full_name': thread.author_id[1], 'name': thread.author_id[2], 'email_address': thread.author_id[3], |
