From 845d2655baecc724d35a7660ee498fba29b2a448 Mon Sep 17 00:00:00 2001 From: Bao Hoang Date: Tue, 24 Dec 2024 16:21:58 +0700 Subject: [PATCH] fix: resolve oobi for connect with individual --- src/core/agent/services/connectionService.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/core/agent/services/connectionService.ts b/src/core/agent/services/connectionService.ts index a79661e0a..8f838c72b 100644 --- a/src/core/agent/services/connectionService.ts +++ b/src/core/agent/services/connectionService.ts @@ -166,10 +166,12 @@ class ConnectionService extends AgentService { connection, }; } - await this.createConnectionMetadata(connectionId, connectionMetadata); } else { - await this.createConnectionMetadata(connectionId, connectionMetadata); + await this.resolveOobi(url, multiSigInvite); + connectionMetadata.pending = false; + connectionMetadata.status = ConnectionStatus.CONFIRMED; } + await this.createConnectionMetadata(connectionId, connectionMetadata); return { type: KeriConnectionType.NORMAL, connection }; }