Permalink
Browse files

Adds participation notification type

  • Loading branch information...
1 parent a0d0dcd commit 5198168aec977a6b67143590e24d259f424b2966 @sebreh sebreh committed Feb 20, 2014
Showing with 5 additions and 0 deletions.
  1. +3 −0 PodioKit/Support/PKConstants.h
  2. +2 −0 PodioKit/Support/PKConstants.m
@@ -566,6 +566,7 @@ typedef enum {
PKNotificationTypeGrantCreate,
PKNotificationTypeGrantDelete,
PKNotificationTypeSpaceDelete,
+ PKNotificationTypeParticipation,
} PKNotificationType;
static NSString * const kPKNotificationTypeAlert = @"alert";
@@ -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
@@ -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;

0 comments on commit 5198168

Please sign in to comment.