Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #50 from NZKoz/flag_setting_error

Ensure flag changes are persisted to imap after setFlags:forMesssage: is called
  • Loading branch information...
commit 5a033e98ecf2adde251b440f7724014e895f51d4 2 parents 48e04c6 + 175b398
@mronge mronge authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 Source/CTCoreFolder.m
View
5 Source/CTCoreFolder.m
@@ -587,6 +587,11 @@ - (BOOL)setFlags:(NSUInteger)flags forMessage:(CTCoreMessage *)msg {
self.lastError = MailCoreCreateErrorFromIMAPCode(err);
return NO;
}
+ err = mailfolder_check(myFolder);
+ if (err != MAIL_NO_ERROR) {
+ self.lastError = MailCoreCreateErrorFromIMAPCode(err);
+ return NO;
+ }
return YES;
}

0 comments on commit 5a033e9

Please sign in to comment.
Something went wrong with that request. Please try again.