fix: implement timestamp correlation for visual ACKs

This commit is contained in:
Timo
2026-04-22 12:23:17 +02:00
parent 221961820a
commit 901b97dcaf
3 changed files with 28 additions and 14 deletions
+4 -1
View File
@@ -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
});
}
});