Monotone-Parent: e1d773b231903817edb0d556fee132ccd592c4a4

Monotone-Revision: 5b2150fb5513e0a65b7a1ee2a646d824071da645

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-03-18T19:19:44
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-03-18 19:19:44 +00:00
parent e38eb48a6b
commit 2d0275e0cf
4 changed files with 48 additions and 4 deletions

View File

@@ -429,4 +429,25 @@
}
}
- (id) acceptAction
{
return [self acceptOrDeclineAction:YES];
}
- (id) declineAction
{
return [self acceptOrDeclineAction:NO];
}
// TODO: add tentatively
- (id) acceptOrDeclineAction: (BOOL) _accept
{
[[self clientObject] changeParticipationStatus:
_accept ? @"ACCEPTED" : @"DECLINED"
inContext: [self context]];
return self;
}
@end