mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
See Changelog.
Monotone-Parent: 1e456d9a08ec90bd4e7fad4909eecfaa354aed5a Monotone-Revision: c2868ffdea9d34b226e1f85e0a8de47117a91bb5 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-07-08T17:38:27 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -94,30 +94,22 @@
|
||||
- (id) markMessageUnflaggedAction
|
||||
{
|
||||
id response;
|
||||
SOGoMailFolder *mailFolder;
|
||||
|
||||
response = [[self clientObject] removeFlags: @"\\Flagged"];
|
||||
if (!response)
|
||||
{
|
||||
mailFolder = [[self clientObject] container];
|
||||
response = [self responseWith204];
|
||||
}
|
||||
|
||||
response = [self responseWith204];
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
- (id) markMessageFlaggedAction
|
||||
{
|
||||
id response;
|
||||
SOGoMailFolder *mailFolder;
|
||||
|
||||
response = [[self clientObject] addFlags: @"\\Flagged"];
|
||||
if (!response)
|
||||
{
|
||||
mailFolder = [[self clientObject] container];
|
||||
response = [self responseWith204];
|
||||
}
|
||||
|
||||
response = [self responseWith204];
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
@@ -125,30 +117,22 @@
|
||||
- (id) markMessageUnreadAction
|
||||
{
|
||||
id response;
|
||||
SOGoMailFolder *mailFolder;
|
||||
|
||||
|
||||
response = [[self clientObject] removeFlags: @"seen"];
|
||||
if (!response)
|
||||
{
|
||||
mailFolder = [[self clientObject] container];
|
||||
response = [self responseWith204];
|
||||
}
|
||||
|
||||
response = [self responseWith204];
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
- (id) markMessageReadAction
|
||||
{
|
||||
id response;
|
||||
SOGoMailFolder *mailFolder;
|
||||
|
||||
response = [[self clientObject] addFlags: @"seen"];
|
||||
if (!response)
|
||||
{
|
||||
mailFolder = [[self clientObject] container];
|
||||
response = [self responseWith204];
|
||||
}
|
||||
|
||||
response = [self responseWith204];
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user