Permalink
Browse files

Add participation stream activity type

  • Loading branch information...
1 parent 8f71c44 commit a0d0dcde4192edaf010c6f9ea3a1853dc8f9ea80 @sebreh sebreh committed Feb 20, 2014
Showing with 4 additions and 0 deletions.
  1. +2 −0 PodioKit/Support/PKConstants.h
  2. +2 −0 PodioKit/Support/PKConstants.m
@@ -373,6 +373,7 @@ typedef enum {
PKStreamActivityTypeUpdate,
PKStreamActivityTypeTask,
PKStreamActivityTypeAnswer,
+ PKStreamActivityTypeParticipation,
} PKStreamActivityType;
static NSString * const kPKStreamActivityTypeComment = @"comment";
@@ -382,6 +383,7 @@ static NSString * const kPKStreamActivityTypeCreation = @"creation";
static NSString * const kPKStreamActivityTypeUpdate = @"update";
static NSString * const kPKStreamActivityTypeTask = @"task";
static NSString * const kPKStreamActivityTypeAnswer = @"answer";
+static NSString * const kPKStreamActivityTypeParticipation = @"participation";
#pragma mark - Action
@@ -208,6 +208,8 @@ + (PKStreamActivityType)streamActivityTypeForString:(NSString *)string {
type = PKStreamActivityTypeTask;
} else if ([string isEqualToString:kPKStreamActivityTypeAnswer]) {
type = PKStreamActivityTypeAnswer;
+ } else if ([string isEqualToString:kPKStreamActivityTypeParticipation]) {
+ type = PKStreamActivityTypeParticipation;
}
return type;

0 comments on commit a0d0dcd

Please sign in to comment.