Skip to content

Commit

Permalink
remove multiuseinvitation flag when message is defined
Browse files Browse the repository at this point in the history
Signed-off-by: ankita_patidar <ankita.patidar@ayanworks.com>
  • Loading branch information
ankita-p17 committed Feb 13, 2024
1 parent 6db2a65 commit 4258f17
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/controllers/credentials/CredentialController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ export class CredentialController extends Controller {
handshakeProtocols: [HandshakeProtocol.Connections],
messages: [credentialMessage],
autoAcceptConnection: true,
multiUseInvitation: true
})
return {
invitationUrl: outOfBandRecord.outOfBandInvitation.toUrl({
Expand Down
6 changes: 2 additions & 4 deletions src/controllers/multi-tenancy/MultiTenancyController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -939,8 +939,7 @@ export class MultiTenancyController extends Controller {
label: createOfferOptions.label,
handshakeProtocols: [HandshakeProtocol.Connections],
messages: [credentialMessage],
autoAcceptConnection: true,
multiUseInvitation: true
autoAcceptConnection: true
})

createOfferOobRecord = {
Expand Down Expand Up @@ -1139,8 +1138,7 @@ export class MultiTenancyController extends Controller {
label: createRequestOptions.label,
handshakeProtocols: [HandshakeProtocol.Connections],
messages: [proofMessage],
autoAcceptConnection: true,
multiUseInvitation: true
autoAcceptConnection: true
})

oobProofRecord = {
Expand Down
1 change: 0 additions & 1 deletion src/controllers/proofs/ProofController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ export class ProofController extends Controller {
handshakeProtocols: [HandshakeProtocol.Connections],
messages: [proofMessage],
autoAcceptConnection: true,
multiUseInvitation: true,
})

return {
Expand Down

0 comments on commit 4258f17

Please sign in to comment.