Clarify behavior for SMS-only conversations

This commit is contained in:
trevor-signal
2025-01-05 15:19:43 -05:00
committed by GitHub
parent 85c74e7e68
commit 9b84402fb0
8 changed files with 42 additions and 57 deletions

View File

@@ -19,9 +19,13 @@ export function isConversationSMSOnly(
return false;
}
if (e164 && !serviceId) {
return true;
if (serviceId) {
return false;
}
return conversation.discoveredUnregisteredAt !== undefined;
if (!e164) {
return false;
}
return true;
}