mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-30 02:22:47 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user