From fee123fe34b29dc825954f3db59648d56d1d1bf5 Mon Sep 17 00:00:00 2001 From: ankita_patidar Date: Tue, 13 Feb 2024 16:22:58 +0530 Subject: [PATCH] remove multiuseinvitation flag when message is defined Signed-off-by: ankita_patidar --- src/controllers/credentials/CredentialController.ts | 1 - src/controllers/multi-tenancy/MultiTenancyController.ts | 6 ++---- src/controllers/proofs/ProofController.ts | 1 - 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/controllers/credentials/CredentialController.ts b/src/controllers/credentials/CredentialController.ts index d321d5a0..d1cd9b33 100644 --- a/src/controllers/credentials/CredentialController.ts +++ b/src/controllers/credentials/CredentialController.ts @@ -220,7 +220,6 @@ export class CredentialController extends Controller { handshakeProtocols: [HandshakeProtocol.Connections], messages: [credentialMessage], autoAcceptConnection: true, - multiUseInvitation: true }) return { invitationUrl: outOfBandRecord.outOfBandInvitation.toUrl({ diff --git a/src/controllers/multi-tenancy/MultiTenancyController.ts b/src/controllers/multi-tenancy/MultiTenancyController.ts index 5116f7ef..c93e2d1b 100644 --- a/src/controllers/multi-tenancy/MultiTenancyController.ts +++ b/src/controllers/multi-tenancy/MultiTenancyController.ts @@ -939,8 +939,7 @@ export class MultiTenancyController extends Controller { label: createOfferOptions.label, handshakeProtocols: [HandshakeProtocol.Connections], messages: [credentialMessage], - autoAcceptConnection: true, - multiUseInvitation: true + autoAcceptConnection: true }) createOfferOobRecord = { @@ -1139,8 +1138,7 @@ export class MultiTenancyController extends Controller { label: createRequestOptions.label, handshakeProtocols: [HandshakeProtocol.Connections], messages: [proofMessage], - autoAcceptConnection: true, - multiUseInvitation: true + autoAcceptConnection: true }) oobProofRecord = { diff --git a/src/controllers/proofs/ProofController.ts b/src/controllers/proofs/ProofController.ts index 5b93548d..6bacd24f 100644 --- a/src/controllers/proofs/ProofController.ts +++ b/src/controllers/proofs/ProofController.ts @@ -183,7 +183,6 @@ export class ProofController extends Controller { handshakeProtocols: [HandshakeProtocol.Connections], messages: [proofMessage], autoAcceptConnection: true, - multiUseInvitation: true, }) return {