Skip to content

Commit 831a357

Browse files
guangyaoguangyao
authored andcommitted
fix p2p类型领取红包的问题
1 parent e79304b commit 831a357

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ios/RNNeteaseIm/RNNeteaseIm/RNNotificationCenter.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@ - (void)saveTheRedPacketOpenMsg:(NSDictionary *)dict andTime:(NSTimeInterval)tim
112112
NSTimeInterval timestamp = times;
113113
NSString *sessionId = [dict objectForKey:@"sessionId"];
114114
NSInteger sessionType = [[dict objectForKey:@"sessionType"] integerValue];
115-
if (sessionType == NIMSessionTypeP2P) {//点对点
116-
sessionId = [datatDict objectForKey:@"openId"];
117-
}
118115
NIMSession *session = [NIMSession session:sessionId type:sessionType];
119116
NIMMessage *message;
120117
DWCustomAttachment *obj = [[DWCustomAttachment alloc]init];

0 commit comments

Comments
 (0)