-rw-r--r-- | noncore/net/mail/libmailwrapper/statusmail.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/statusmail.cpp b/noncore/net/mail/libmailwrapper/statusmail.cpp index 7e14df3..4d87e56 100644 --- a/noncore/net/mail/libmailwrapper/statusmail.cpp +++ b/noncore/net/mail/libmailwrapper/statusmail.cpp @@ -80,6 +80,8 @@ void StatusMail::check_current_stat(folderStat&targetStat) } } odebug << "Pop3 last: " << lastPop3Stat.message_count << "" << oendl; + +#if 0 if (currentPop3Stat.message_count > lastPop3Stat.message_count) { currentPop3Stat.message_recent = currentPop3Stat.message_count - lastPop3Stat.message_count; currentPop3Stat.message_unseen = currentPop3Stat.message_recent; @@ -87,6 +89,10 @@ void StatusMail::check_current_stat(folderStat&targetStat) lastPop3Stat.message_count = currentPop3Stat.message_count; currentPop3Stat.message_recent = currentPop3Stat.message_unseen = 0; } +#else + currentPop3Stat.message_recent = currentPop3Stat.message_unseen=currentPop3Stat.message_count; +#endif + targetStat = currentImapStat; targetStat.message_unseen+=currentPop3Stat.message_unseen; targetStat.message_recent+=currentPop3Stat.message_recent; |