Remove internal-only crash during archive status reset.

This commit is contained in:
Greyson Parrelli
2025-07-15 10:07:11 -04:00
committed by Jeffrey Starke
parent 2148eb8760
commit cfa96f4737

View File

@@ -135,9 +135,6 @@ class ArchiveAttachmentReconciliationJob private constructor(
val success = SignalDatabase.attachments.resetArchiveTransferStateByPlaintextHashAndRemoteKey(entry.plaintextHash, entry.remoteKey)
if (!success) {
Log.e(TAG, "Failed to reset archive transfer state by remote hash/key!")
if (RemoteConfig.internalUser) {
throw RuntimeException("Failed to reset archive transfer state by remote hash/key!")
}
}
}
}