fix: v1.0.5 stability hotfixes (ACK security and event jitter)

This commit is contained in:
Timo
2026-04-22 13:55:57 +02:00
parent 33e48a8278
commit 2aef9a1ffc
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -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,
+1 -1
View File
@@ -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 {