Add support for 1 button delete all crafting order mail #333


  • Fixed
  • Enhancement
Closed
Assigned to zimzarina
  • xxcaliburx created this issue Feb 14, 2023

    1 button to delete all crafting order mail that are filled, or declined, etc

  • xxcaliburx added a tag Enhancement Feb 14, 2023
  • addonaddictblabla posted a comment Apr 30, 2023

    That would be nice +1

  • Zimzarina closed issue Jul 18, 2023
  • Zimzarina posted a comment Jul 18, 2023

    I have decided to address this by having the mails automatically deleted when empty.  Please try the new alpha below.

     

    I have released an r584-alpha build where work order mails now get deleted once the work order items are taken.  This works for both the Select open feature and the Open All feature.  This a core design change as Postal never ever before deleted mails but rather let Blizzard do it automatically when the mail was empty.  However, Blizzard does not automatically delete empty work order mails when all items are taken so now Postal will do it.  This was a bit complicated to add since the Blizzard API's TakeInboxItem(mailIndex, attachIndex) and  DeleteInboxItem(mailIndex) are asynchronous calls.

    I have done everything I can think of to ensure Postal never deletes any mail that contains items or money.  I would like some people to volunteer to test this change but be warned there is now a delete mail call in the code.

  • Zimzarina self-assigned this issue Jul 18, 2023
  • Zimzarina added a tag Fixed Jul 18, 2023

To post a comment, please login or register a new account.