mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-22 07:14:21 +00:00
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:
1 parent
5823cdfa4c
commit
c34dcbd1b3
3 files changed
+28
-20
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user