# HG changeset patch # User Zerotorescue # Date 1324299957 -3600 # Node ID 86d9e008b0ad413749af8022b1243a4b4a876d11 # Parent 8a525473f8e265d1fe26f4170bdeb832b163cfa5 The mailbox will still be automatically refreshed while automatic mail opening is disabled. diff -r 8a525473f8e2 -r 86d9e008b0ad Core.lua --- a/Core.lua Mon Dec 19 13:54:48 2011 +0100 +++ b/Core.lua Mon Dec 19 14:05:57 2011 +0100 @@ -685,7 +685,8 @@ --local BeanCounterActive = not InboxCloseButton:IsVisible(); --if not BeanCounterActive and AutoOpenMail and not MailAddonBusy then - if AutoOpenMail and not MailAddonBusy then + --if AutoOpenMail and not MailAddonBusy then + if not MailAddonBusy then -- Query the server CheckInbox(); end @@ -842,7 +843,7 @@ -- This should speed things up a tiny bit, but might become buggy if coded wrong -- We actually override the function in the onenable function NewCheckInbox(...) - if not MailOpener.db.profile.general.overrideCheckInbox or not MailOpener.db.profile.general.continueOpening or not lastAmount or lastAmount == 0 then + if not MailOpener.db.profile.general.overrideCheckInbox or not MailOpener.db.profile.general.continueOpening or not AutoOpenMail or not lastAmount or lastAmount == 0 then -- If the override Check Inbox option is off -- or continuous opening is off -- or there's currently no mail visible