|
|
@ -135,8 +135,9 @@ int const OWSLinkedDevicesTableViewControllerSectionAddDevice = 1;
|
|
|
|
if (devices.count > 1) {
|
|
|
|
if (devices.count > 1) {
|
|
|
|
// Setting this flag here shouldn't be necessary, but we do so
|
|
|
|
// Setting this flag here shouldn't be necessary, but we do so
|
|
|
|
// because the "cost" is low and it will improve robustness.
|
|
|
|
// because the "cost" is low and it will improve robustness.
|
|
|
|
[OWSDevice setMayHaveLinkedDevices:YES
|
|
|
|
[OWSDeviceManager.sharedManager
|
|
|
|
dbConnection:[[TSStorageManager sharedManager] newDatabaseConnection]];
|
|
|
|
setMayHaveLinkedDevices:YES
|
|
|
|
|
|
|
|
dbConnection:[[TSStorageManager sharedManager] newDatabaseConnection]];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (devices.count > [OWSDevice numberOfKeysInCollection]) {
|
|
|
|
if (devices.count > [OWSDevice numberOfKeysInCollection]) {
|
|
|
|