mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 12:25:23 +00:00
Fix for bug #2129
This commit is contained in:
@@ -990,13 +990,13 @@
|
||||
{
|
||||
NSString *calendarName, *mailDate, *mailText, *fullSenderEmail, *senderEmail, *fullRecipientEmail, *recipientEmail;
|
||||
NSDictionary *senderIdentity, *recipientIdentity;
|
||||
SOGoAptMailReceipt *page;
|
||||
id <SOGoAuthenticator> authenticator;
|
||||
SOGoUser *currentUser, *ownerUser;
|
||||
NGMutableHashMap *headerMap;
|
||||
NGMimeMessage *msg;
|
||||
SOGoUser *currentUser;
|
||||
SOGoAptMailReceipt *page;
|
||||
SOGoDomainDefaults *dd;
|
||||
id <SOGoAuthenticator> authenticator;
|
||||
|
||||
NGMimeMessage *msg;
|
||||
|
||||
calendarName = [[self container] displayName];
|
||||
|
||||
// We must handle three cases here:
|
||||
@@ -1028,8 +1028,8 @@
|
||||
[headerMap setObject: fullSenderEmail forKey: @"from"];
|
||||
|
||||
// Recipient is fixed, which is the calendar owner
|
||||
currentUser = [SOGoUser userWithLogin: self->owner];
|
||||
recipientIdentity = [currentUser primaryIdentity];
|
||||
ownerUser = [SOGoUser userWithLogin: self->owner];
|
||||
recipientIdentity = [ownerUser primaryIdentity];
|
||||
recipientEmail = [recipientIdentity objectForKey: @"email"];
|
||||
fullRecipientEmail = [recipientIdentity keysWithFormat: @"%{fullName} <%{email}>"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user