diff options
author | silenteh <silenteh@gmail.com> | 2013-06-05 00:23:34 +0200 |
---|---|---|
committer | silenteh <silenteh@gmail.com> | 2013-06-05 00:23:34 +0200 |
commit | f4ea2b37befa78edda1e5caafc2f5c3647506b05 (patch) | |
tree | 50a9b13c15dbe2c8d411ed22bb3ee5f5eb23fe1c /src/async/imap/MCIMAPFolderInfoOperation.cc | |
parent | 7caa935cb50e712a1ee99b61d3b0029616773f6d (diff) |
changed the wrong variable name to firstUnseenUid - gets the first unseen Uid on folder SELECT imap command if the response is available
Diffstat (limited to 'src/async/imap/MCIMAPFolderInfoOperation.cc')
-rw-r--r-- | src/async/imap/MCIMAPFolderInfoOperation.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/async/imap/MCIMAPFolderInfoOperation.cc b/src/async/imap/MCIMAPFolderInfoOperation.cc index 8220caf0..20df52ed 100644 --- a/src/async/imap/MCIMAPFolderInfoOperation.cc +++ b/src/async/imap/MCIMAPFolderInfoOperation.cc @@ -19,7 +19,7 @@ IMAPFolderInfoOperation::IMAPFolderInfoOperation() mUidValidity = 0; mMessageCount = 0; mModSequenceValue = 0; - mUnseenCount = 0; + mFirstUnseenUid = 0; } IMAPFolderInfoOperation::~IMAPFolderInfoOperation() @@ -46,9 +46,9 @@ int IMAPFolderInfoOperation::messageCount() return mMessageCount; } -int IMAPFolderInfoOperation::unseenCount() +uint32_t IMAPFolderInfoOperation::firstUnseenUid() { - return mUnseenCount; + return mFirstUnseenUid; } void IMAPFolderInfoOperation::main() @@ -72,7 +72,7 @@ void IMAPFolderInfoOperation::main() mUidValidity = session()->session()->uidValidity(); mModSequenceValue = session()->session()->modSequenceValue(); mMessageCount = session()->session()->lastFolderMessageCount(); - mUnseenCount = session()->session()->lastFolderUnseenCount(); + mFirstUnseenUid = session()->session()->firstUnseenUid(); setError(error); } |