2005-07-20 Helge Hess <helge.hess@opengroupware.org>
+ * SOGoMailObject.m: improved -doesMailExist check (do not refetch if
+ the coreinfo is available anyways) (v0.9.116)
+
* v0.9.115
* SOGoMailObject.m: do not use clientObject when fetching the
static NSArray *existsKey = nil;
id msgs;
+ if (self->coreInfos != nil) /* if we have coreinfos, we can use them */
+ return [self->coreInfos isNotNull];
+
+ /* otherwise fetch something really simple */
+
if (existsKey == nil) /* we use size, other suggestions? */
existsKey = [[NSArray alloc] initWithObjects:@"RFC822.SIZE", nil];
# Version file
-SUBMINOR_VERSION:=114
+SUBMINOR_VERSION:=116
# v0.9.114 requires libNGMime v4.5.229
# v0.9.114 requires libNGExtensions v4.5.165
if ((s = [[[self context] request] headerForKey:@"if-none-match"])) {
if ([s rangeOfString:mailETag].length > 0) { /* not perfectly correct */
/* client already has the proper entity */
- [self logWithFormat:@"MATCH: %@ (tag %@)", s, mailETag];
+ // [self logWithFormat:@"MATCH: %@ (tag %@)", s, mailETag];
[[[self context] response] setStatus:304 /* Not Modified */];
return [[self context] response];
}