Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Try to fix the new fcc option.

  • Loading branch information...
commit 9a3b3a27a25e0d3f5535dc47a58fbe37f84334db 1 parent eaf6617
Jonathan Protzenko authored October 08, 2012

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  send.js
3  send.js
@@ -327,7 +327,6 @@ function sendMessage(params,
327 327
     fccFolder.indexOf("nocopy://") == 0
328 328
     ? ""
329 329
     : fccFolder;
330  
-  let implies = function (a, b) !a || a && b;
331 330
   // Replicating the whole logic from nsMsgSend.cpp:2840... with our own archive
332 331
   // feat.
333 332
   if (archive) {
@@ -349,7 +348,7 @@ function sendMessage(params,
349 348
     // The user has unchecked "place a copy of the sent message..."
350 349
     fields.fcc = "";
351 350
   } else if (isReply && (fccSameFolder ||
352  
-      implies(options.fcc_follows_if_not_inbox, !msgHdrIsInbox(msgUriToMsgHdr(urls[0]))))) {
  351
+      options.fcc_follows_if_not_inbox && !msgHdrIsInbox(msgUriToMsgHdr(urls[0])))) {
353 352
     // "Place a copy of sent messages in the folder of the message being replied
354 353
     // to..."
355 354
     let msgHdr = msgUriToMsgHdr(urls[0]);

0 notes on commit 9a3b3a2

Please sign in to comment.
Something went wrong with that request. Please try again.