View Single Post
02/24/15, 08:46 PM   #56
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
This is function in MailInbox.lua:

Lua Code:
  1. function MailInbox:ConfirmDelete(mailId)
  2.     if not IsMailReturnable(self.mailId) then
  3.         DeleteMail(mailId, true)
  4.         PlaySound(SOUNDS.MAIL_ITEM_DELETED)
  5.     end
  6. end
Is it intended that IsMailReturnable is called for self.mailId and DeleteMail for argument mailId?
  Reply With Quote