From 7adfd1a4e7069d4b248096aebf4b856303bf92f2 Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Fri, 24 Sep 2021 11:32:01 -0500 Subject: [PATCH] Fix compile error: use `bytesToUuid` in calling service --- ts/services/calling.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ts/services/calling.ts b/ts/services/calling.ts index 81324aa90d..87e9a37b30 100644 --- a/ts/services/calling.ts +++ b/ts/services/calling.ts @@ -2024,9 +2024,7 @@ export class CallingClass { conversationId: string, creatorBytes: undefined | Readonly ): void { - const creatorUuid = creatorBytes - ? arrayBufferToUuid(typedArrayToArrayBuffer(creatorBytes)) - : undefined; + const creatorUuid = creatorBytes ? bytesToUuid(creatorBytes) : undefined; const creatorConversation = window.ConversationController.get(creatorUuid); if (creatorConversation && isMe(creatorConversation.attributes)) { return;