rem: MsgJunkMailInfo(true); gDBView.doCommand(setAsJunk ? nsMsgViewCommandType.junk : nsMsgViewCommandType.unjunk);    
add: MsgJunkMailInfo(true);       if (setAsJunk) MarkSelectedMessagesRead(true);  gDBView.doCommand(setAsJunk ? nsMsgViewCommandType.junk : nsMsgViewCommandType.unjunk); 
context: function JunkSelectedMessages(setAsJunk){    MsgJunkMailInfo(true);    gDBView.doCommand(setAsJunk ? nsMsgViewCommandType.junk                      : nsMsgViewCommandType.unjunk);    // XXX TODO    // consider whether these messages should be    // marked as read (if markAsReadOnSpam is set)}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/551db5dc18865b2eca74308b1f6bba3121b23f41/mailCommands.js/buggy/mailnews/base/resources/content/mailCommands.js