Skip to content

Commit

Permalink
Merge remote-tracking branch 'leancloud/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	ChatKit-OC/Podfile.lock
#	ChatKit-OC/Pods/Manifest.lock
#	ChatKit-OC/Pods/Pods.xcodeproj/project.pbxproj
  • Loading branch information
ChenYilong committed Dec 6, 2016
2 parents af0d6bf + dffe423 commit aa1dc0e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ - (RedpacketUserInfo *)redpacketUserInfo {
}
RedpacketUserInfo *user = [[RedpacketUserInfo alloc] init];
user.userId = clientId;
user.userNickname = userName;
user.userNickname = userName.length?userName:clientId;
user.userAvatar = avatarURL;
return user;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ - (void)sendRedpacketMessage:(RedpacketMessageModel *)redpacket {
}

- (void)getGroupMemberListCompletionHandle:(void (^)(NSArray<RedpacketUserInfo *> *))completionHandle {
__weak typeof(self) weakSlef = self;
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
AVIMConversation *conversation = [self.conversationViewController getConversationIfExists];
NSArray *allPersonIds;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ - (void)redpacketClicked {
if ([message.rpModel.redpacketSender.userId isEqualToString:obj.clientId]) {
RedpacketUserInfo * userInfo = [RedpacketUserInfo new];
userInfo.userId = obj.clientId;
userInfo.userNickname = obj.name?obj.name:obj.clientId;
userInfo.userNickname = obj.name.length?obj.name:obj.clientId;
userInfo.userAvatar = obj.avatarURL.absoluteString;
message.rpModel.redpacketSender = userInfo;
}
Expand Down
4 changes: 2 additions & 2 deletions ChatKit-OC/Pods/Local Podspecs/RedpacketLib.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 12 additions & 28 deletions ChatKit-OC/Pods/Pods.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa1dc0e

Please sign in to comment.