From 29363a0f093ed5dccf4354b781a3dec380afd4f9 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Mon, 13 Oct 2025 17:42:14 +0200 Subject: [PATCH] fix logic --- core/src/logic/CommunityHandshakeState.logic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/logic/CommunityHandshakeState.logic.ts b/core/src/logic/CommunityHandshakeState.logic.ts index e9cb23d5c..52422be15 100644 --- a/core/src/logic/CommunityHandshakeState.logic.ts +++ b/core/src/logic/CommunityHandshakeState.logic.ts @@ -21,7 +21,7 @@ export class CommunityHandshakeStateLogic { if (this.self.status === CommunityHandshakeStateType.EXPIRED) { return true } - if (Date.now() - this.self.updatedAt.getTime() > FEDERATION_AUTHENTICATION_TIMEOUT_MS) { + if ((Date.now() - this.self.updatedAt.getTime()) > FEDERATION_AUTHENTICATION_TIMEOUT_MS) { return true } return false