Skip to content

Commit

Permalink
[FIX] Fixes a bug where the BCC recipients of an inline PGP signed me…
Browse files Browse the repository at this point in the history
…ssages where falsely removed prior to sending. [#869 state:fixed]
  • Loading branch information
lukele committed Mar 26, 2016
1 parent f260168 commit 250e567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/ComposeBackEnd+GPGMail.m
Original file line number Diff line number Diff line change
Expand Up @@ -610,9 +610,9 @@ - (void)_addGPGFlaggedStringsToHeaders:(NSMutableDictionary *)headers forEncrypt
}
headers[@"from"] = flaggedString;

// Save the original bcc recipients, to restore later.
[self setIvar:@"originalBCCRecipients" value:[headers valueForKey:@"bcc"]];
if (forEncrypting) {
// Save the original bcc recipients, to restore later.
[self setIvar:@"originalBCCRecipients" value:[headers valueForKey:@"bcc"]];
NSMutableArray *newBCCList = [NSMutableArray array];
// Flag BCCs as bcc, so we can use hidden-recipient.
NSArray *bccRecipients = [headers valueForKey:@"bcc"];
Expand Down

0 comments on commit 250e567

Please sign in to comment.