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

Commit

Permalink
Merge pull request #404 from zapcannon87/master
Browse files Browse the repository at this point in the history
Release v2.3.2
  • Loading branch information
zapcannon87 authored Aug 27, 2018
2 parents 50ad875 + d93a353 commit f1f7c46
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions ChatKit-OC/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PODS:
- AVOSCloudIM/_NOARC (= 11.4.0)
- AVOSCloudIM/_NOARC (11.4.0):
- AVOSCloud (= 11.4.0)
- ChatKit (2.3.1):
- ChatKit (2.3.2):
- AVOSCloud (~> 11.4.0)
- AVOSCloudIM (~> 11.4.0)
- CYLDeallocBlockExecutor (~> 1.1.2)
Expand Down Expand Up @@ -91,7 +91,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
AVOSCloud: 1968612949f44d5a79c8ccdd550ca2107bbfde02
AVOSCloudIM: f0a771a9438f39edaf6e67bf051194036b5f33ee
ChatKit: 92fa73dc8b9ada69dc48b391b51ddf0b237b9fe0
ChatKit: cbe8ad4b802b94ff6fbed57d5498fec71606c37b
CYLDeallocBlockExecutor: ecf39e45dcead9e120f460df5668b8f5093d178e
CYLTabBarController: 8d99fccf22866fe18c978c5ff863dc6051da45ff
DACircularProgress: 4dd437c0fc3da5161cb289e07ac449493d41db71
Expand Down
2 changes: 1 addition & 1 deletion ChatKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "ChatKit"
s.version = "2.3.1"
s.version = "2.3.2"
s.summary = "An IM App Framework, support sending text, pictures, audio, video, location messaging, managing address book, more interesting features."
s.homepage = "https://github.com/LeanCloud/ChatKit-OC"
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
21 changes: 11 additions & 10 deletions ChatKit/Class/Tool/Service/LCCKUserSystemService.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ @interface LCCKUserSystemService ()
@implementation LCCKUserSystemService
@synthesize fetchProfilesBlock = _fetchProfilesBlock;

- (instancetype)init
{
self = [super init];
if (self) {
NSString *queueBaseLabel = [NSString stringWithFormat:@"com.ChatKit.%@", NSStringFromClass([self class])];
const char *queueName = [[NSString stringWithFormat:@"%@.ForIsolation",queueBaseLabel] UTF8String];
self->_isolationQueue = dispatch_queue_create(queueName, NULL);
}
return self;
}

- (void)setFetchProfilesBlock:(LCCKFetchProfilesBlock)fetchProfilesBlock {
_fetchProfilesBlock = fetchProfilesBlock;
}
Expand Down Expand Up @@ -341,16 +352,6 @@ - (NSMutableDictionary *)cachedUsers {
return _cachedUsers;
}

- (dispatch_queue_t)isolationQueue {
if (_isolationQueue) {
return _isolationQueue;
}
NSString *queueBaseLabel = [NSString stringWithFormat:@"com.ChatKit.%@", NSStringFromClass([self class])];
const char *queueName = [[NSString stringWithFormat:@"%@.ForIsolation",queueBaseLabel] UTF8String];
_isolationQueue = dispatch_queue_create(queueName, NULL);
return _isolationQueue;
}

#pragma mark -
#pragma mark - set or get cached user Method

Expand Down

0 comments on commit f1f7c46

Please sign in to comment.