Skip to content

What is destmsg? #280

Closed Answered by RealRaven2000
TonyGravagno asked this question in Q&A
Jul 25, 2024 · 5 comments · 1 reply
Discussion options

You must be logged in to vote

it is a listener for moved or copied messages. destmsgs is an (probably optional) array of destination messages. I tink usually we only have 3 params, isMoved flag, the array of messages to be moved and target folder.

here is the code

// https://mxr.mozilla.org/addons/source/3376/chrome/content/mailclassifier/js/main.js#91
quickFilters.MsgFolderListener = {
  qfInstance: quickFilters,
  /**
   * Event fired after message was moved or copied
   * @param {boolean} isMoved  
   * @param {nsIArray} aSrcMsgs    Array of Messages
   * @param {nsIMsgFolder} targetFolder   
   * @param {nsIArray} aDestMsgs    Array of Messages
   */
  msgsMoveCopyCompleted: function(isMoved, aSrcMsgs, targetFolder, 

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@TonyGravagno
Comment options

Answer selected by TonyGravagno
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
quickFilters related to quickFilters Add-on
2 participants