Commit 8297f93393cfa242bb82ebd77f2be5d5b0f5b75f

Authored by daojian
1 parent 65ad0862

0.2.0 版本 照片修复成功通知

CNLiveNewIMAManagerKit.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveNewIMAManagerKit'
11   - s.version = '0.1.9'
  11 + s.version = '0.2.0'
12 12 s.summary = 'A short description of CNLiveNewIMAManagerKit.'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveNewIMAManagerKit/Classes/Playform/IMAConversationManager.m
... ... @@ -1022,6 +1022,12 @@
1022 1022 [[CNTransferBalanceUnreceivedCache cache] addOneElement:transferBalanceData forKey:[NSString stringWithFormat:@"key_%@_%@",CNUserShareModel.uid,[conv getReceiver]]];
1023 1023 }
1024 1024 }
  1025 + else if([dic[@"type"] integerValue] == CustomMsgTypePhotoFixSuccess)
  1026 + {
  1027 + //照片修复成功
  1028 + NSDictionary *topicData = dic[@"topicData"];
  1029 + [[NSNotificationCenter defaultCenter] postNotificationName:kIMAMSG_PhotoFixSuccessNotification object:nil userInfo:topicData];
  1030 + }
1025 1031 return isBreak;
1026 1032 }
1027 1033  
... ...
CNLiveNewIMAManagerKit/Classes/PublicHeader/IMANotification.h
... ... @@ -156,5 +156,7 @@ static NSString *const CNLiveContentSweepPaymentNotification = @"CNLiveContentSw
156 156 #pragma mark 对方已收礼
157 157 static NSString *const kIMAMSG_ReceivingGiftsNotification = @"kIMAMSG_ReceivingGiftsNotification";
158 158  
  159 +#pragma mark 照片修复成功
  160 +static NSString *const kIMAMSG_PhotoFixSuccessNotification = @"kIMAMSG_PhotoFixSuccessNotification";
159 161  
160 162 #endif /* IMANotification_h */
... ...
CNLiveNewIMAManagerKit/Classes/TIMModel/MSG/IMAMsg.h
... ... @@ -162,6 +162,7 @@ typedef NS_ENUM(NSUInteger, CustomMsgType) {
162 162 CustomMsgTypeMutualTopic_SysMsg = 2203, //互助话题系统通知
163 163 CustomMsgTypeMutualTopic_CommentMsg = 2204, //互助话题 评论/回复
164 164 CustomMsgTypeMutualTopic_AuditMsg = 2205, //互助话题审核提醒
  165 + CustomMsgTypePhotoFixSuccess = 2206, //照片修复成功
165 166 #pragma mark 领头雁报名成功
166 167 CustomMsgTypeLtyRegistrationSuccess = 2210, //领头雁报名成功
167 168 #pragma mark 特色群相关消息类型
... ...