aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/imap
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-10-19 16:09:51 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-10-19 16:09:51 -0700
commitc29cf852e33cdae1e3316653351b9b58fd1c70c4 (patch)
treee5e6ee45561a949b7c3681f4cc8b22195c4da0d6 /src/core/imap
parent905b2415dae343af598d6f038e267d7f3af806f8 (diff)
Allow to perform IDLE even when capability has not been performed yet (Fixed #301).
Diffstat (limited to 'src/core/imap')
-rwxr-xr-xsrc/core/imap/MCIMAPSession.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/imap/MCIMAPSession.cc b/src/core/imap/MCIMAPSession.cc
index 9844490c..f4c6364a 100755
--- a/src/core/imap/MCIMAPSession.cc
+++ b/src/core/imap/MCIMAPSession.cc
@@ -348,7 +348,7 @@ void IMAPSession::init()
mLastFetchedSequenceNumber = 0;
mCurrentFolder = NULL;
pthread_mutex_init(&mIdleLock, NULL);
- mCanIdle = false;
+ mCanIdle = true;
mState = STATE_DISCONNECTED;
mImap = NULL;
mProgressCallback = NULL;