From 2aef9a1ffc8b85f69b48a0982406cb5ec82cc9ad Mon Sep 17 00:00:00 2001 From: Timo <6156589+Shik3i@users.noreply.github.com> Date: Wed, 22 Apr 2026 13:55:57 +0200 Subject: [PATCH] fix: v1.0.5 stability hotfixes (ACK security and event jitter) --- extension/content.js | 2 -- server/index.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/extension/content.js b/extension/content.js index b8c31a7..551cb63 100644 --- a/extension/content.js +++ b/extension/content.js @@ -206,8 +206,6 @@ return; // Ignore event caused by our programmatic action } - setTargetState(null); // Reset on mismatch or unhandled event - chrome.runtime.sendMessage({ type: 'CONTENT_EVENT', action, diff --git a/server/index.js b/server/index.js index 1755eb6..c87cee0 100644 --- a/server/index.js +++ b/server/index.js @@ -341,7 +341,7 @@ io.on('connection', (socket) => { // Security: Only relay ACK if both peers are in the same room if (senderMapping && targetMapping && senderMapping.roomId === targetMapping.roomId) { io.to(targetSocketId).emit(EVENTS.EVENT_ACK, { - senderId: data.senderId, + senderId: senderMapping.peerId, actionTimestamp: data.actionTimestamp }); } else {