mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-17 04:43:17 +00:00
fix(mail): mark deleted messages as seen
The STATUS command will now report the proper unseen messages count.
This commit is contained in:
@@ -496,7 +496,7 @@ static NSInteger _compareFetchResultsByUID (id entry1, id entry2, NSArray *uids)
|
||||
client = [[self imap4Connection] client];
|
||||
[imap4 selectFolder: [self imap4URL]];
|
||||
}
|
||||
result = [[client storeFlags: [NSArray arrayWithObject: @"Deleted"]
|
||||
result = [[client storeFlags: [NSArray arrayWithObjects: @"Deleted", @"seen", nil]
|
||||
forUIDs: uids addOrRemove: YES]
|
||||
objectForKey: @"result"];
|
||||
if ([result boolValue])
|
||||
|
||||
Reference in New Issue
Block a user