Fix compile error: use bytesToUuid
in calling service
This commit is contained in:
parent
9aa0de5b6c
commit
7adfd1a4e7
1 changed files with 1 additions and 3 deletions
|
@ -2024,9 +2024,7 @@ export class CallingClass {
|
||||||
conversationId: string,
|
conversationId: string,
|
||||||
creatorBytes: undefined | Readonly<Uint8Array>
|
creatorBytes: undefined | Readonly<Uint8Array>
|
||||||
): void {
|
): void {
|
||||||
const creatorUuid = creatorBytes
|
const creatorUuid = creatorBytes ? bytesToUuid(creatorBytes) : undefined;
|
||||||
? arrayBufferToUuid(typedArrayToArrayBuffer(creatorBytes))
|
|
||||||
: undefined;
|
|
||||||
const creatorConversation = window.ConversationController.get(creatorUuid);
|
const creatorConversation = window.ConversationController.get(creatorUuid);
|
||||||
if (creatorConversation && isMe(creatorConversation.attributes)) {
|
if (creatorConversation && isMe(creatorConversation.attributes)) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue