Skip to content

Commit 1978af8

Browse files
guangyaoguangyao
authored andcommitted
fix 联系人
1 parent 1856746 commit 1978af8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ios/RNNeteaseIm/RNNeteaseIm/ContactViewController.m

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ - (void)setMembers:(NSArray *)members
236236
continue;
237237
}
238238
NSString *groupTitle = [member groupTitle];
239-
NTESContactDataMember *contact =member;
239+
NTESContactDataMember *contact = member;
240240
NSMutableDictionary *dic = [NSMutableDictionary dictionary];
241241
[dic setObject:[NSString stringWithFormat:@"%@", contact.info.showName] forKey:@"name"];
242242
[dic setObject:[NSString stringWithFormat:@"%@", contact.info.infoId] forKey:@"contactId"];
@@ -255,9 +255,7 @@ - (void)setMembers:(NSArray *)members
255255
}
256256

257257
NIMModel *model = [NIMModel initShareMD];
258-
if (tmp.count) {
259-
model.contactList = tmp;
260-
}
258+
model.contactList = tmp;
261259
}
262260

263261
//通讯录删除好友

0 commit comments

Comments
 (0)