Skip to content
This repository was archived by the owner on Jul 2, 2019. It is now read-only.

Commit fc676e8

Browse files
authored
Merge pull request #426 from zapcannon87/master
release: 2.3.13
2 parents 7eb5af1 + 1d5e8ed commit fc676e8

File tree

3 files changed

+29
-26
lines changed

3 files changed

+29
-26
lines changed

ChatKit-OC/Podfile.lock

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
PODS:
2-
- AVOSCloud (11.6.2)
3-
- AVOSCloudIM (11.6.2):
4-
- AVOSCloud (= 11.6.2)
5-
- AVOSCloudIM/_ARC (= 11.6.2)
6-
- AVOSCloudIM/_NOARC (= 11.6.2)
7-
- AVOSCloudIM/_ARC (11.6.2):
8-
- AVOSCloud (= 11.6.2)
9-
- AVOSCloudIM/_NOARC (= 11.6.2)
10-
- AVOSCloudIM/_NOARC (11.6.2):
11-
- AVOSCloud (= 11.6.2)
12-
- ChatKit (2.3.12):
13-
- AVOSCloud (~> 11.6.2)
14-
- AVOSCloudIM (~> 11.6.2)
2+
- AVOSCloud (11.6.3)
3+
- AVOSCloudIM (11.6.3):
4+
- AVOSCloud (= 11.6.3)
5+
- AVOSCloudIM/_ARC (= 11.6.3)
6+
- AVOSCloudIM/_NOARC (= 11.6.3)
7+
- AVOSCloudIM/_ARC (11.6.3):
8+
- AVOSCloud (= 11.6.3)
9+
- AVOSCloudIM/_NOARC (= 11.6.3)
10+
- AVOSCloudIM/_NOARC (11.6.3):
11+
- AVOSCloud (= 11.6.3)
12+
- ChatKit (2.3.13):
13+
- AVOSCloud (~> 11.6.3)
14+
- AVOSCloudIM (~> 11.6.3)
1515
- CYLDeallocBlockExecutor (~> 1.1.2)
1616
- DACircularProgress (~> 2.3.1)
1717
- FDStackView (~> 1.0)
1818
- FMDB (~> 2.6.2)
1919
- Masonry (~> 1.0.1)
20-
- MJRefresh (~> 3.1.9)
20+
- MJRefresh (~> 3.1.17)
2121
- MLLabel (~> 1.10.5)
2222
- MWPhotoBrowser (~> 2.1.2)
2323
- pop (~> 1.0.9)
@@ -34,7 +34,7 @@ PODS:
3434
- FXForms (1.2.14)
3535
- Masonry (1.0.2)
3636
- MBProgressHUD (0.9.2)
37-
- MJRefresh (3.1.16)
37+
- MJRefresh (3.1.17)
3838
- MLLabel (1.10.5)
3939
- MLPAutoCompleteTextField (1.5)
4040
- MWPhotoBrowser (2.1.2):
@@ -89,9 +89,9 @@ EXTERNAL SOURCES:
8989
:path: "../"
9090

9191
SPEC CHECKSUMS:
92-
AVOSCloud: b5ddb67d1823e7af59b3fc14ddecf3cddf1f4bf1
93-
AVOSCloudIM: b814dd9a3b9d1012bc11189f6639bf713474a5b2
94-
ChatKit: 48d318c046da6c9af49e6f0beac32c5d096e4d13
92+
AVOSCloud: 3148cbb1d05be4e479cffa206f147ef09a470fdf
93+
AVOSCloudIM: 415ec613caa269f71aecc1439f0b27aec9174ec2
94+
ChatKit: bd7b490b52b52717cd1a7470adc92eb2924d03a8
9595
CYLDeallocBlockExecutor: ecf39e45dcead9e120f460df5668b8f5093d178e
9696
CYLTabBarController: 8d99fccf22866fe18c978c5ff863dc6051da45ff
9797
DACircularProgress: 4dd437c0fc3da5161cb289e07ac449493d41db71
@@ -101,7 +101,7 @@ SPEC CHECKSUMS:
101101
FXForms: 724500c0c3f3eb3ba1004b3b83abcee55d3daf18
102102
Masonry: 7c429b56da9d4ee0bbb3ed77a5ea710d6a5df39e
103103
MBProgressHUD: 1569cf7ace17a8bac47aabfbb8580a49690386d1
104-
MJRefresh: 7798e16e53a5ef7f332dd05b27664db4e29530fd
104+
MJRefresh: ee5b68f639775462faba4db0fd243baf4d42c2cf
105105
MLLabel: d76124055a2205e7f76878e62cd06ba925ba0c97
106106
MLPAutoCompleteTextField: ba4d507bbff2bd4f139d4197814fc8dd39caf77e
107107
MWPhotoBrowser: 5836d7aa041dc05a13de380c246826578adc5ea5
@@ -114,4 +114,4 @@ SPEC CHECKSUMS:
114114

115115
PODFILE CHECKSUM: 0c9077ef2ff9a92e0adcca86bcabd425df220379
116116

117-
COCOAPODS: 1.7.0.beta.3
117+
COCOAPODS: 1.7.0.rc.2

ChatKit.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "ChatKit"
3-
s.version = "2.3.12"
3+
s.version = "2.3.13"
44
s.summary = "An IM App Framework, support sending text, pictures, audio, video, location messaging, managing address book, more interesting features."
55
s.homepage = "https://github.com/LeanCloud/ChatKit-OC"
66
s.license = { :type => 'MIT', :file => 'LICENSE' }
@@ -13,9 +13,9 @@ Pod::Spec.new do |s|
1313
s.resources = 'ChatKit/Class/Resources/*', 'ChatKit/**/*.xib'
1414

1515
s.requires_arc = true
16-
s.dependency "AVOSCloud" , "~> 11.6.2"
17-
s.dependency "AVOSCloudIM", "~> 11.6.2"
18-
s.dependency "MJRefresh" , "~> 3.1.9"
16+
s.dependency "AVOSCloud" , "~> 11.6.3"
17+
s.dependency "AVOSCloudIM", "~> 11.6.3"
18+
s.dependency "MJRefresh" , "~> 3.1.17"
1919
s.dependency "Masonry" , "~> 1.0.1"
2020
s.dependency "SDWebImage" , "~> 3.8.0"
2121
s.dependency "FMDB" , "~> 2.6.2"

ChatKit/Class/Module/Conversation/View/ChatMessageCell/LCCKChatMessageCell.m

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,13 +392,16 @@ - (void)setMessageReadState:(LCCKMessageReadState)messageReadState {
392392

393393
- (UIImageView *)avatarImageView {
394394
if (!_avatarImageView) {
395-
_avatarImageView = [[UIImageView alloc] init];
396-
_avatarImageView.contentMode = UIViewContentModeScaleAspectFit;
397395
LCCKAvatarImageViewCornerRadiusBlock avatarImageViewCornerRadiusBlock = [LCChatKit sharedInstance].avatarImageViewCornerRadiusBlock;
398396
if (avatarImageViewCornerRadiusBlock) {
397+
_avatarImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, kAvatarImageViewWidth, kAvatarImageViewHeight)];
398+
_avatarImageView.contentMode = UIViewContentModeScaleAspectFit;
399399
CGSize avatarImageViewSize = CGSizeMake(kAvatarImageViewWidth, kAvatarImageViewHeight);
400400
CGFloat avatarImageViewCornerRadius = avatarImageViewCornerRadiusBlock(avatarImageViewSize);
401401
self.avatarImageView.lcck_cornerRadius = avatarImageViewCornerRadius;
402+
} else {
403+
_avatarImageView = [[UIImageView alloc] init];
404+
_avatarImageView.contentMode = UIViewContentModeScaleAspectFit;
402405
}
403406
[self bringSubviewToFront:_avatarImageView];
404407
}

0 commit comments

Comments
 (0)