mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
Automatically mark msg as read in Mail module
This avoids an extra XHR to the server.
This commit is contained in:
@@ -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