Make it easier to track local users registration ID in debug log

// FREEBIE
This commit is contained in:
Michael Kirk 2017-04-13 15:35:23 -04:00
parent 0743722782
commit fa5bb7ad9d
1 changed files with 4 additions and 0 deletions

View File

@ -143,6 +143,9 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
[[TSAccountManager sharedInstance]
ifRegistered:YES
runAsync:^{
DDLogInfo(
@"%@ running post launch block for registered user: %@", self.tag, [TSAccountManager localNumber]);
[TSSocketManager requestSocketOpen];
RTCInitializeSSL();
@ -172,6 +175,7 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
ifRegistered:NO
runAsync:^{
dispatch_async(dispatch_get_main_queue(), ^{
DDLogInfo(@"%@ running post launch block for unregistered user.", self.tag);
[TSSocketManager requestSocketOpen];
UITapGestureRecognizer *gesture =