mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-26 08:32:44 +00:00
Monotone-Parent: 4f6055656f29743c9da3d3dcce84f449939717bf
Monotone-Revision: 60ad639c204e75de92c1111a09d2ecfe2cbd655b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-07-11T17:53:09 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -102,11 +102,20 @@ static NSArray *headers = nil;
|
||||
|
||||
/* accessors */
|
||||
|
||||
- (void)setTo:(NSArray *)_to {
|
||||
- (void)setTo:(NSArray *)_to
|
||||
{
|
||||
_to = [self properlySplitAddresses:_to];
|
||||
ASSIGNCOPY(self->to, _to);
|
||||
}
|
||||
- (NSArray *)to {
|
||||
|
||||
- (NSArray *) to
|
||||
{
|
||||
NSString *mailto;
|
||||
|
||||
mailto = [self queryParameterForKey:@"mailto"];
|
||||
if ([mailto length] > 0 && ![to count])
|
||||
to = [NSArray arrayWithObject: mailto];
|
||||
|
||||
return self->to;
|
||||
}
|
||||
|
||||
@@ -114,6 +123,7 @@ static NSArray *headers = nil;
|
||||
_cc = [self properlySplitAddresses:_cc];
|
||||
ASSIGNCOPY(self->cc, _cc);
|
||||
}
|
||||
|
||||
- (NSArray *)cc {
|
||||
return self->cc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user