mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-01 01:50:33 +00:00
Monotone-Parent: 148caf2ae66d2024b6008a2633e9145890921239
Monotone-Revision: 6bbe705e61e8fc6ef154a1903cb2e31282bbedfe Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-09-01T20:36:05 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -542,25 +542,16 @@ static NSString *mailETag = nil;
|
||||
@" oneself.")];
|
||||
else
|
||||
{
|
||||
if ([self _messageHasDraftOrMDNSentFlag])
|
||||
response = [self responseWithStatus: 403
|
||||
andString: (@"The original message is"
|
||||
@" flagged as a draft or an"
|
||||
@" MDN has already been sent"
|
||||
@" for it.")];
|
||||
else
|
||||
action = [self _receiptAction];
|
||||
if ([action isEqualToString: @"ask"])
|
||||
{
|
||||
action = [self _receiptAction];
|
||||
if ([action isEqualToString: @"ask"])
|
||||
{
|
||||
[self _sendEMailReceiptTo: email];
|
||||
response = [self responseWithStatus: 204];
|
||||
}
|
||||
else
|
||||
response = [self responseWithStatus: 403
|
||||
andString: (@"No notification header found in"
|
||||
@" original message.")];
|
||||
[self _sendEMailReceiptTo: email];
|
||||
response = [self responseWithStatus: 204];
|
||||
}
|
||||
else
|
||||
response = [self responseWithStatus: 403
|
||||
andString: (@"No notification header found in"
|
||||
@" original message.")];
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user