(fix) disabled message view caching for now

pull/186/head
Ludovic Marcotte 2015-12-09 18:24:09 -05:00
parent 845624f569
commit 889570d672
1 changed files with 7 additions and 1 deletions

View File

@ -251,9 +251,15 @@ static NSString *mailETag = nil;
those are the IMAP4 flags (and annotations, which we do not use).
Since we don't render the flags, it should be OK, if this changes
we must embed the flagging into the etag.
2015-12-09: We disable caching for now. Let's do this right soon
by taking into account IMAP flags and the Accepted/Declined/etc.
state of an even with an IMIP invitation. We should perhaps even
store the state as an IMAP flag.
*/
s = [[context request] headerForKey: @"if-none-match"];
if (s)
//if (s)
if (0)
{
if ([s rangeOfString:mailETag].length > 0) /* not perfectly correct */
{