mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-10 11:38:22 +00:00
fix: v1.0.5 stability hotfixes (ACK security and event jitter)
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user