mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-18 11:38:53 +00:00
Minor syntax and comments improvements
This commit is contained in:
@@ -926,7 +926,7 @@ static NSString *userAgent = nil;
|
||||
|
||||
sourceEnvelope = [sourceMail envelope];
|
||||
[self _fillInReplyAddresses: info replyToAll: toAll
|
||||
envelope: sourceEnvelope];
|
||||
envelope: sourceEnvelope];
|
||||
msgID = [sourceEnvelope messageID];
|
||||
if ([msgID length] > 0)
|
||||
[self setInReplyTo: msgID];
|
||||
@@ -982,7 +982,7 @@ static NSString *userAgent = nil;
|
||||
@"message/rfc822", @"mimetype",
|
||||
nil];
|
||||
[self saveAttachment: [sourceMail content]
|
||||
withMetadata: attachment];
|
||||
withMetadata: attachment];
|
||||
}
|
||||
|
||||
[self storeInfo];
|
||||
|
||||
@@ -1264,6 +1264,8 @@ static NSArray *reminderValues = nil;
|
||||
account = [folder lookupName: @"0" inContext: context acquire: NO];
|
||||
|
||||
if ([account updateFilters])
|
||||
// If Sieve is not enabled, the SOGoSieveManager will immediatly return a positive answer
|
||||
// See [SOGoSieveManager updateFiltersForAccount:withUsername:andPassword:]
|
||||
results = [self responseWithStatus: 200
|
||||
andJSONRepresentation: [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool:hasChanged], @"hasChanged", nil]];
|
||||
|
||||
|
||||
@@ -1057,8 +1057,7 @@ _computeBlocksPosition (NSArray *blocks)
|
||||
[self _prepareEventBlocks: &blocks withAllDays: &allDayBlocks];
|
||||
events = [self _fetchFields: eventsFields
|
||||
forComponentOfType: @"vevent"];
|
||||
eventsBlocks
|
||||
= [NSArray arrayWithObjects: events, allDayBlocks, blocks, nil];
|
||||
eventsBlocks = [NSArray arrayWithObjects: events, allDayBlocks, blocks, nil];
|
||||
max = [events count];
|
||||
for (count = 0; count < max; count++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user