From 891fa246c0a7e65a1d85eef1a893be4833a84efa Mon Sep 17 00:00:00 2001 From: Jeremy Date: Tue, 7 Aug 2018 13:25:07 -0500 Subject: [PATCH] Fixes #71 --- Components/MailOpenAll.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Components/MailOpenAll.lua b/Components/MailOpenAll.lua index b052e1af..321d5754 100644 --- a/Components/MailOpenAll.lua +++ b/Components/MailOpenAll.lua @@ -135,7 +135,7 @@ end function module:ProcessNext() local curFirstMailDaysLeft = select(7, GetInboxHeaderInfo(1)) if curFirstMailDaysLeft ~= 0 and curFirstMailDaysLeft ~= firstMailDaysLeft then - return self:OpenAll(true) + return -- self:OpenAll(true) end if mailIndex > 0 then @@ -272,7 +272,7 @@ function module:ProcessNext() local numItems, totalItems = GetInboxNumItems() if numUnshownItems ~= totalItems - numItems then -- We will Open All again if the number of unshown items is different - return self:OpenAll(true) -- tail call + return --self:OpenAll(true) -- tail call elseif totalItems > numItems and numItems < MAX_MAIL_SHOWN then -- We only want to refresh if there's more items to show SUI:Print(L['Not all messages are shown, refreshing mailbox soon to continue Open All...'])