|
|
@ -517,9 +517,6 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
|
|
|
|
// This will fetch new messages, if we're using domain
|
|
|
|
// This will fetch new messages, if we're using domain
|
|
|
|
// fronting.
|
|
|
|
// fronting.
|
|
|
|
[[PushManager sharedManager] applicationDidBecomeActive];
|
|
|
|
[[PushManager sharedManager] applicationDidBecomeActive];
|
|
|
|
|
|
|
|
|
|
|
|
// If there were any messages in our local queue which we hadn't yet processed.
|
|
|
|
|
|
|
|
[[OWSMessageReceiver sharedInstance] handleAnyUnprocessedEnvelopes];
|
|
|
|
|
|
|
|
}];
|
|
|
|
}];
|
|
|
|
|
|
|
|
|
|
|
|
DDLogInfo(@"%@ applicationDidBecomeActive completed.", self.tag);
|
|
|
|
DDLogInfo(@"%@ applicationDidBecomeActive completed.", self.tag);
|
|
|
@ -796,6 +793,9 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
|
|
|
|
[AppVersion.instance appLaunchDidComplete];
|
|
|
|
[AppVersion.instance appLaunchDidComplete];
|
|
|
|
|
|
|
|
|
|
|
|
[self ensureRootViewController];
|
|
|
|
[self ensureRootViewController];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// If there were any messages in our local queue which we hadn't yet processed.
|
|
|
|
|
|
|
|
[[OWSMessageReceiver sharedInstance] handleAnyUnprocessedEnvelopesAsync];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
- (void)ensureRootViewController
|
|
|
|
- (void)ensureRootViewController
|
|
|
|