rem:  if (!spamSettings.moveOnSpam) 
add:  if (!spamSettings.moveOnSpam) 
context: function determineActionsForJunkMsgs(aView, aIndices, aActionParams){    // we use some arbitrary message to determine the  // message server  var msgURI = aView.getURIForViewIndex(aIndices[0]);  var msgHdr = messenger.msgHdrFromURI(msgURI);  var server = msgHdr.folder.server;  var spamSettings = server.spamSettings;  // note we will do moves/marking as read even if the spam  // feature is disabled, since the user has asked to use it  // despite the disabling    // note also that we will only act on messages which  // _the_current_run_ of the classifier has classified as  // junk, rather than on all junk messages in the folder  aActionParams.markRead = spamSettings.markAsReadOnSpam;  aActionParams.junkTargetFolder = null;   if (!spamSettings.moveOnSpam)     return;   // don't move if we are already in the junk folder  if (msgHdr.folder.flags & MSG_FOLDER_FLAG_JUNK)    return;   var spamFolderURI = spamSettings.spamFolderURI;  if (!spamFolderURI)  {    dump('no spam folder!');    return;  }    aActionParams.junkTargetFolder = GetMsgFolderFromUri(spamFolderURI);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e870274c1fab3343b4266c8a864a953f337b6402/mailCommands.js/buggy/mailnews/base/resources/content/mailCommands.js