Skip to content

Commit

Permalink
Adds participation notification type
Browse files Browse the repository at this point in the history
  • Loading branch information
sebreh committed Feb 20, 2014
1 parent a0d0dcd commit 5198168
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PodioKit/Support/PKConstants.h
Expand Up @@ -566,6 +566,7 @@ typedef enum {
PKNotificationTypeGrantCreate,
PKNotificationTypeGrantDelete,
PKNotificationTypeSpaceDelete,
PKNotificationTypeParticipation,
} PKNotificationType;

static NSString * const kPKNotificationTypeAlert = @"alert";
Expand Down Expand Up @@ -598,6 +599,8 @@ static NSString * const kPKNotificationTypeBatchComplete = @"batch_complete";
static NSString * const kPKNotificationTypeGrantCreate = @"grant_create";
static NSString * const kPKNotificationTypeGrantDelete = @"grant_delete";
static NSString * const kPKNotificationTypeSpaceDelete = @"space_delete";
static NSString * const kPKNotificationTypeParticipation = @"participation";


#pragma mark - Meetings

Expand Down
2 changes: 2 additions & 0 deletions PodioKit/Support/PKConstants.m
Expand Up @@ -738,6 +738,8 @@ + (PKNotificationType)notificationTypeForString:(NSString *)string {
type = PKNotificationTypeGrantDelete;
} else if ([string isEqualToString:kPKNotificationTypeSpaceDelete]) {
type = PKNotificationTypeSpaceDelete;
} else if ([string isEqualToString:kPKNotificationTypeParticipation]) {
type = PKNotificationTypeParticipation;
}

return type;
Expand Down

0 comments on commit 5198168

Please sign in to comment.