mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-15 12:56:41 +00:00
Automatically mark msg as read in Mail module
This avoids an extra XHR to the server.
This commit is contained in:
1 parent
fcd61abc41
commit
0c9a301f25
2 files changed
+5
-6
No files matched your search
@@ -278,6 +278,9 @@ static NSString *mailETag = nil;
|
||||
andJSONRepresentation: data];
|
||||
}
|
||||
|
||||
// Mark message as read
|
||||
[co addFlags: @"seen"];
|
||||
|
||||
data = [NSMutableDictionary dictionaryWithObjectsAndKeys:
|
||||
[self attachmentAttrs], @"attachmentAttrs",
|
||||
[self shouldAskReceipt], @"shouldAskReceipt",
|
||||
|
||||
Reference in new issue
Block a user