# HG changeset patch # User Zerotorescue # Date 1284042735 -7200 # Node ID fb952805d8b7cc47d4b4b1970004f3833b511f7b # Parent 1b2d819b4fa8804035e775ad187adc5dd85ddc33 A FailSafe timer will now be stopped when another is started to prevent multiple running simultaneously and eventually warning you for nothing. #Debug Removed debug messages for MAIL_INBOX_UPDATES, our own addon messages should do. #Debug MO_OPENING_MAIL debug messages will now include the mail id. diff -r 1b2d819b4fa8 -r fb952805d8b7 Core.lua --- a/Core.lua Thu Sep 09 10:53:19 2010 +0200 +++ b/Core.lua Thu Sep 09 16:32:15 2010 +0200 @@ -352,9 +352,9 @@ local tempLastAmount = lastAmount; lastAmount = currentMailWithAttachments; - if currentMailWithAttachments ~= tempLastAmount then - self:Debug("MAIL_INBOX_UPDATE - lastAmount:" .. tempLastAmount .. " - current:" .. currentMailWithAttachments); - end + --if currentMailWithAttachments ~= tempLastAmount then + -- self:Debug("MAIL_INBOX_UPDATE - lastAmount:" .. tempLastAmount .. " - current:" .. currentMailWithAttachments); + --end if currentMailWithAttachments > tempLastAmount then -- New messages arrived in our mailbox, so this was a refresh, so set a timer diff -r 1b2d819b4fa8 -r fb952805d8b7 Modules/FailSafe.lua --- a/Modules/FailSafe.lua Thu Sep 09 10:53:19 2010 +0200 +++ b/Modules/FailSafe.lua Thu Sep 09 16:32:15 2010 +0200 @@ -56,6 +56,7 @@ function FailSafe:MO_OPENING_MAIL() -- Single mail being opened + self:CancelTimer(self.tmrTimeout, true); -- insurance self.tmrTimeout = self:ScheduleTimer("Continue", self.db.profile.timeout); end diff -r 1b2d819b4fa8 -r fb952805d8b7 Modules/OpenAll.lua --- a/Modules/OpenAll.lua Thu Sep 09 10:53:19 2010 +0200 +++ b/Modules/OpenAll.lua Thu Sep 09 16:32:15 2010 +0200 @@ -438,7 +438,7 @@ else continue = false; - self:Debug("MO_OPENING_MAIL"); + self:Debug("MO_OPENING_MAIL (#" .. index .. ")"); -- Notifiy other modules of opening self:SendMessage("MO_OPENING_MAIL");