diff --git a/ts/services/storageRecordOps.preload.ts b/ts/services/storageRecordOps.preload.ts index dc00708e2b..b87d8d55c9 100644 --- a/ts/services/storageRecordOps.preload.ts +++ b/ts/services/storageRecordOps.preload.ts @@ -2554,7 +2554,12 @@ function recipientToConversationId( ): string { let match: ConversationModel | undefined; if (recipient.contact != null) { - match = window.ConversationController.get(recipient.contact.serviceId); + const serviceId = fromServiceIdBinaryOrString( + recipient.contact.serviceIdBinary, + recipient.contact.serviceId, + `${logPrefix}.recipientToConversationId` + ); + match = window.ConversationController.get(serviceId); match ??= window.ConversationController.get(recipient.contact.e164); } else if ( recipient.groupMasterKey != null &&