mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-22 15:14:21 +00:00
oc-mailfolder: Get seen flag directly from message in preloading
To avoid a loop and a server-call. We are not using body.peek[text] directly because bodyContentPart message is explicitly avoiding it.
This commit is contained in:
1 parent
7e0cddc06b
commit
d076e04ad4
3 files changed
+21
-21
No files matched your search
@@ -1598,4 +1598,12 @@ _compareBodyKeysByPriority (id entry1, id entry2, void *data)
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL) read
|
||||
{
|
||||
if (!headerSetup)
|
||||
[self _fetchHeaderData];
|
||||
|
||||
return [sogoObject read];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user