We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6fccb9f + 986ca70 commit 5e098d5Copy full SHA for 5e098d5
ios/RNNeteaseIm/RNNeteaseIm/RNNotificationCenter.m
@@ -110,6 +110,9 @@ - (void)saveTheRedPacketOpenMsg:(NSDictionary *)dict{
110
NSTimeInterval timestamp = [[dict objectForKey:@"timestamp"] doubleValue];
111
NSString *sessionId = [dict objectForKey:@"sessionId"];
112
NSInteger sessionType = [[dict objectForKey:@"sessionType"] integerValue];
113
+ if (sessionType == NIMSessionTypeP2P) {//点对点
114
+ sessionId = [datatDict objectForKey:@"openId"];
115
+ }
116
NIMSession *session = [NIMSession session:sessionId type:sessionType];
117
NIMMessage *message;
118
DWCustomAttachment *obj = [[DWCustomAttachment alloc]init];
0 commit comments