mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-19 15:46:15 +00:00
fix: implement timestamp correlation for visual ACKs
This commit is contained in:
+4
-1
@@ -333,7 +333,10 @@ io.on('connection', (socket) => {
|
||||
return roomData && roomData.peerId === data.targetId;
|
||||
});
|
||||
if (targetSocket) {
|
||||
targetSocket.emit(EVENTS.EVENT_ACK, { senderId: data.senderId });
|
||||
targetSocket.emit(EVENTS.EVENT_ACK, {
|
||||
senderId: data.senderId,
|
||||
actionTimestamp: data.actionTimestamp
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user