From 661c060440d990037e6b91b52eedbb5c7b33a902 Mon Sep 17 00:00:00 2001 From: andresfv95 Date: Thu, 19 Dec 2024 08:12:32 -0500 Subject: [PATCH] fix: Update packages/main/src/controllers/message/MessageService.ts Co-authored-by: Ariel Gentile --- packages/main/src/controllers/message/MessageService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/main/src/controllers/message/MessageService.ts b/packages/main/src/controllers/message/MessageService.ts index 56a5c37..bfc3c82 100644 --- a/packages/main/src/controllers/message/MessageService.ts +++ b/packages/main/src/controllers/message/MessageService.ts @@ -244,7 +244,7 @@ export class MessageService { const credentials = await agent.credentials.findAllByQuery({ threadId: msg.threadId }) if (credentials && credentials.length > 0) { for (const credential of credentials) { - const isRevoke = Boolean( + const isRevocable = Boolean( credential.getTag('anonCredsRevocationRegistryId') && credential.getTag('anonCredsCredentialRevocationId'), )