merge of '67d8b9dd5560b0fe74b28e933a26f5555a9cad04'

and '8a7076e816120408558e4add54151b80aeeb69d8'

Monotone-Parent: 67d8b9dd5560b0fe74b28e933a26f5555a9cad04
Monotone-Parent: 8a7076e816120408558e4add54151b80aeeb69d8
Monotone-Revision: ca77b33237a4a7e175057093f4f695d8170e5f1c

Monotone-Author: flachapelle@inverse.ca
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2008-12-02T20:13:44
Monotone-Date: 2008-12-02T21:04:23
Monotone-Branch: ca.inverse.sogo
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-12-02 20:13:44 +00:00
4 changed files with 47 additions and 22 deletions
+8 -1
View File
@@ -203,7 +203,14 @@
[otherAttendee addAttribute: @"SENT-BY"
value: [NSString stringWithFormat: @"\"MAILTO:%@\"", currentEmail]];
}
else
{
// We must REMOVE any SENT-BY here. This is important since if A accepted
// the event for B and then, B changes by himself his participation status,
// we don't want to keep the previous SENT-BY attribute there.
[(NSMutableDictionary *)[otherAttendee attributes] removeObjectForKey: @"SENT-BY"];
}
iCalString = [[event parent] versitString];
[eventObject saveContentString: iCalString];
}