(fix) sent messages cannot be replied to their BCC email addresses (fixes #4460)

This commit is contained in:
Ludovic Marcotte
2019-02-19 14:50:49 -05:00
parent dad0be1815
commit 98463f2ff2
3 changed files with 16 additions and 7 deletions
@@ -275,7 +275,7 @@
*/
Message.prototype.allowReplyAll = function() {
var recipientsCount = 0;
recipientsCount = _.reduce(['to', 'cc'], _.bind(function(count, type) {
recipientsCount = _.reduce(['to', 'cc', 'bcc'], _.bind(function(count, type) {
if (this[type])
return count + this[type].length;
else