Permalink
Browse files

Try to fix the new fcc option.

  • Loading branch information...
1 parent eaf6617 commit 9a3b3a27a25e0d3f5535dc47a58fbe37f84334db @protz committed Oct 8, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 send.js
View
3 send.js
@@ -327,7 +327,6 @@ function sendMessage(params,
fccFolder.indexOf("nocopy://") == 0
? ""
: fccFolder;
- let implies = function (a, b) !a || a && b;
// Replicating the whole logic from nsMsgSend.cpp:2840... with our own archive
// feat.
if (archive) {
@@ -349,7 +348,7 @@ function sendMessage(params,
// The user has unchecked "place a copy of the sent message..."
fields.fcc = "";
} else if (isReply && (fccSameFolder ||
- implies(options.fcc_follows_if_not_inbox, !msgHdrIsInbox(msgUriToMsgHdr(urls[0]))))) {
+ options.fcc_follows_if_not_inbox && !msgHdrIsInbox(msgUriToMsgHdr(urls[0])))) {
// "Place a copy of sent messages in the folder of the message being replied
// to..."
let msgHdr = msgUriToMsgHdr(urls[0]);

0 comments on commit 9a3b3a2

Please sign in to comment.