Respond to CR.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-07-05 18:49:02 -04:00
parent ab3aa9d0ce
commit c5bf85d0b3

View file

@ -455,8 +455,6 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
self.tag,
[TSAccountManager localNumber]);
[TSSocketManager requestSocketOpen];
RTCInitializeSSL();
[OWSSyncPushTokensJob runWithPushManager:[PushManager sharedManager]
@ -484,7 +482,7 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
DDLogInfo(@"%@ running post launch block for unregistered user.", self.tag);
[TSSocketManager requestSocketOpen];
UITapGestureRecognizer *gesture =
[[UITapGestureRecognizer alloc] initWithTarget:[Pastelog class]
action:@selector(submitLogs)];
@ -498,6 +496,8 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
[[TSAccountManager sharedInstance]
ifRegistered:YES
runAsync:^{
[TSSocketManager requestSocketOpen];
dispatch_async(dispatch_get_main_queue(), ^{
[[Environment getCurrent].contactsManager fetchSystemContactsIfAlreadyAuthorized];
});