Monotone-Parent: fd131f17ab49c14614952e0ede565d75240108d4

Monotone-Revision: 2f0d42cca69230479f5caefd8f858f7923b64337

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-08-28T21:44:49
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2008-08-28 21:44:49 +00:00
1 parent 5823cdfa4c
commit c34dcbd1b3
3 files changed
+28 -20

No files matched your search

+13 -3
View File
@@ -145,21 +145,31 @@
- (id) markMessageUnreadAction
{
id response;
SOGoMailFolder *mailFolder;
response = [[self clientObject] removeFlags: @"seen"];
if (!response)
response = [self responseWith204];
{
mailFolder = [[self clientObject] container];
[mailFolder unselect];
response = [self responseWith204];
}
return response;
}
- (id) markMessageReadAction
{
id response;
SOGoMailFolder *mailFolder;
response = [[self clientObject] addFlags: @"seen"];
if (!response)
response = [self responseWith204];
{
mailFolder = [[self clientObject] container];
[mailFolder unselect];
response = [self responseWith204];
}
return response;
}