Commit 924d6adbd9ce69ef1f91961ffd9640df72a6f071

Authored by daojian
1 parent a54b989b

0.1.7 判断用户是否在通讯录

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.6'
  11 + s.version = '0.1.7'
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/IMAContactManager.h
... ... @@ -138,7 +138,7 @@ typedef void (^IMASubGroupCompletion)(IMASubGroup *sg);
138 138 //是否加入了该群
139 139 - (BOOL)isJionGroup:(NSString *)groupID;
140 140  
141   -// user是否为我的好友,YES,是, NO,则为陌生
  141 +// 检查通讯录中是否含有些
142 142 - (BOOL)isMyFriend:(IMAUser *)user;
143 143  
144 144  
... ...
CNLiveNewIMAManagerKit/Classes/Playform/IMAContactManager.m
... ... @@ -248,7 +248,7 @@
248 248 return YES;
249 249 }
250 250 NSInteger index = [self.friendsList indexOfObject:user];
251   - if (index >= 0 && index < self.friendsList.count && user.blackType == CNFriendsCheckResultTypeFriends)
  251 + if (index >= 0 && index < self.friendsList.count)
252 252 {
253 253 return YES;
254 254 }
... ...