From 1ef7ce7551bd4a39edae48b4632ebaa0f336dbb5 Mon Sep 17 00:00:00 2001 From: benStre Date: Sun, 11 Feb 2024 01:09:16 +0100 Subject: [PATCH] fix uncaught promise for fingerprint mismatch --- runtime/runtime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/runtime.ts b/runtime/runtime.ts index 847926ee..40a0a9b3 100644 --- a/runtime/runtime.ts +++ b/runtime/runtime.ts @@ -1881,7 +1881,7 @@ export class Runtime { if (header.sender) header.sender.setOnline(true); if (header.type !== ProtocolDataType.GOODBYE && header.type !== ProtocolDataType.HELLO && header.sender && header.signed) { - Crypto.activateEndpoint(header.sender); + await Crypto.activateEndpoint(header.sender) } if (header.type === ProtocolDataType.GOODBYE && header.sender && !Crypto.public_keys.has(header.sender.main)) {