comparison Core.lua @ 11:fb952805d8b7

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.
author Zerotorescue
date Thu, 09 Sep 2010 16:32:15 +0200
parents 1b2d819b4fa8
children d633bf82328b
comparison
equal deleted inserted replaced
8:1b2d819b4fa8 11:fb952805d8b7
350 end 350 end
351 351
352 local tempLastAmount = lastAmount; 352 local tempLastAmount = lastAmount;
353 lastAmount = currentMailWithAttachments; 353 lastAmount = currentMailWithAttachments;
354 354
355 if currentMailWithAttachments ~= tempLastAmount then 355 --if currentMailWithAttachments ~= tempLastAmount then
356 self:Debug("MAIL_INBOX_UPDATE - lastAmount:" .. tempLastAmount .. " - current:" .. currentMailWithAttachments); 356 -- self:Debug("MAIL_INBOX_UPDATE - lastAmount:" .. tempLastAmount .. " - current:" .. currentMailWithAttachments);
357 end 357 --end
358 358
359 if currentMailWithAttachments > tempLastAmount then 359 if currentMailWithAttachments > tempLastAmount then
360 -- New messages arrived in our mailbox, so this was a refresh, so set a timer 360 -- New messages arrived in our mailbox, so this was a refresh, so set a timer
361 361
362 self:Debug("MO_SERVER_SYNCED"); 362 self:Debug("MO_SERVER_SYNCED");