Skip to content

Commit 8f41541

Browse files
guangyaoguangyao
authored andcommitted
change isVerify
1 parent fd0b6ed commit 8f41541

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ios/RNNeteaseIm/RNNeteaseIm/NoticeViewController.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ - (void)onReceiveSystemNotification:(NIMSystemNotification *)notification{
128128
- (void)updateSourceMember:(NIMKitInfo *)sourceMember andNoti:(NIMSystemNotification *)noti{
129129

130130
NSMutableDictionary *dic = [NSMutableDictionary dictionary];
131-
BOOL isVerify = false;
131+
BOOL isVerify = @"0";
132132
NIMSystemNotificationType type = noti.type;
133133
NSString *avatarUrlString = sourceMember.avatarUrlString;
134134
NSURL *url;
@@ -141,7 +141,7 @@ - (void)updateSourceMember:(NIMKitInfo *)sourceMember andNoti:(NIMSystemNotifica
141141
case NIMSystemNotificationTypeTeamApply:
142142
{
143143
team = [[NIMSDK sharedSDK].teamManager teamById:noti.targetID];
144-
isVerify = true;
144+
isVerify = @"1";
145145
verifyText = [NSString stringWithFormat:@"申请加入群 %@", team.teamName];
146146
}
147147
break;
@@ -154,7 +154,7 @@ - (void)updateSourceMember:(NIMKitInfo *)sourceMember andNoti:(NIMSystemNotifica
154154
case NIMSystemNotificationTypeTeamInvite:
155155
{
156156
team = [[NIMSDK sharedSDK].teamManager teamById:noti.targetID];
157-
isVerify = true;
157+
isVerify = @"1";
158158
verifyText = [NSString stringWithFormat:@"%@ 邀请你加入", team.teamName];
159159
}
160160
break;
@@ -174,7 +174,7 @@ - (void)updateSourceMember:(NIMKitInfo *)sourceMember andNoti:(NIMSystemNotifica
174174
verifyText = @"已添加你为好友";
175175
break;
176176
case NIMUserOperationRequest:
177-
isVerify = true;
177+
isVerify = @"1";
178178
verifyText = @"请求添加你为好友";
179179
break;
180180
case NIMUserOperationVerify:

0 commit comments

Comments
 (0)