From 70b85dcc9c04a2119f8e3e7c456143a6e60d7e11 Mon Sep 17 00:00:00 2001 From: Martti Malmi Date: Fri, 5 Jan 2024 01:05:46 +0200 Subject: [PATCH] disable seenEvents check in connection --- packages/system/src/connection.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/system/src/connection.ts b/packages/system/src/connection.ts index 1b810f9a..90d71690 100644 --- a/packages/system/src/connection.ts +++ b/packages/system/src/connection.ts @@ -203,9 +203,11 @@ export class Connection extends EventEmitter { if ((e.data as string).length > 0) { // skip message processing if we've already seen it const msgId = getHex64(e.data as string, "id"); + /* Disabled in absence of local db if (seenEvents.has(msgId)) { return; } + */ seenEvents.add(msgId); // TODO only do after msg validation const msg = JSON.parse(e.data as string) as Array;