fix crash when non-registered user upgrades

pull/1/head
Michael Kirk 6 years ago
parent a5dec2321e
commit 18766280f6

@ -215,6 +215,10 @@ NSString *const kSyncManagerLastContactSyncKey = @"kTSStorageManagerOWSSyncManag
- (void)sendConfigurationSyncMessage {
[AppReadiness runNowOrWhenAppDidBecomeReady:^{
if (!TSAccountManager.isRegistered) {
return;
}
[self sendConfigurationSyncMessage_AppReady];
}];
}

Loading…
Cancel
Save