Add more safety checks to e164 conversion in backup export.

This commit is contained in:
Greyson Parrelli
2025-10-28 12:04:32 -04:00
committed by jeffrey-signal
parent b10a57de63
commit 4ecd3ec052

View File

@@ -1562,7 +1562,7 @@ private fun String.e164ToLong(): Long? {
this
}
return fixed.toLongOrNull()
return fixed.toLongOrNull()?.takeIf { it > 0L }
}
private fun <T> ExecutorService.submitTyped(callable: Callable<T>): Future<T> {