aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/imap/MCIMAPIdleOperation.cc
diff options
context:
space:
mode:
authorGravatar Pushkar Singh <pushkar@hothouselabs.com>2013-07-09 11:18:05 -0700
committerGravatar Pushkar Singh <pushkar@hothouselabs.com>2013-07-09 11:18:05 -0700
commit0bc680acc776bd83dd9f0300015fc85b5e9aad7f (patch)
tree78b98c7a004238f083ff4131ba325c230d274d68 /src/async/imap/MCIMAPIdleOperation.cc
parentd2daea1a6980e6395fd62a79fd7620eee0d2a539 (diff)
parent557546b7a2271efb83fb9454d3227855c2a99ceb (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/async/imap/MCIMAPIdleOperation.cc')
-rw-r--r--src/async/imap/MCIMAPIdleOperation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/async/imap/MCIMAPIdleOperation.cc b/src/async/imap/MCIMAPIdleOperation.cc
index 42c58f90..8b48b77c 100644
--- a/src/async/imap/MCIMAPIdleOperation.cc
+++ b/src/async/imap/MCIMAPIdleOperation.cc
@@ -47,7 +47,7 @@ void IMAPIdleOperation::unprepare()
void IMAPIdleOperation::main()
{
- performMethodOnMainThread((Object::Method) &IMAPIdleOperation::prepare, NULL);
+ performMethodOnMainThread((Object::Method) &IMAPIdleOperation::prepare, NULL, true);
if (!mSetupSuccess) {
return;
@@ -57,7 +57,7 @@ void IMAPIdleOperation::main()
session()->session()->idle(folder(), mLastKnownUid, &error);
setError(error);
- performMethodOnMainThread((Object::Method) &IMAPIdleOperation::unprepare, NULL);
+ performMethodOnMainThread((Object::Method) &IMAPIdleOperation::unprepare, NULL, true);
}
void IMAPIdleOperation::interruptIdle()