Minor fix in the SENT-BY handling.
Monotone-Parent: 694105995f89f2830e19da5ab10400813c23741f Monotone-Revision: 8a7076e816120408558e4add54151b80aeeb69d8 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2008-12-02T12:27:41 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
d9791705fb
commit
fdabc48820
|
@ -203,6 +203,13 @@
|
||||||
[otherAttendee addAttribute: @"SENT-BY"
|
[otherAttendee addAttribute: @"SENT-BY"
|
||||||
value: [NSString stringWithFormat: @"\"MAILTO:%@\"", currentEmail]];
|
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];
|
iCalString = [[event parent] versitString];
|
||||||
[eventObject saveContentString: iCalString];
|
[eventObject saveContentString: iCalString];
|
||||||
|
|
Loading…
Reference in a new issue