mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-02 00:07:56 +01:00
Fix chat folder sync with serviceIdBinary
Co-authored-by: Hužva <huzvanec@email.cz>
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user