This is function in MailInbox.lua:
Lua Code:
function MailInbox:ConfirmDelete(mailId)
if not IsMailReturnable(self.mailId) then
DeleteMail(mailId, true)
PlaySound(SOUNDS.MAIL_ITEM_DELETED)
end
end
Is it intended that IsMailReturnable is called for self.mailId and DeleteMail for argument mailId?