fix: repair PR verification and docs cleanup

This commit is contained in:
Timo
2026-07-01 23:46:23 +02:00
parent 463f871958
commit dab7368537
13 changed files with 144 additions and 1059 deletions
+3 -4
View File
@@ -123,9 +123,9 @@ When a guest's action is blocked:
function getHostSyncTarget() {
const host = currentRoom.peers.find(p => p.peerId === hostPeerId);
if (!host) return null;
let targetTime = host.currentTime;
// Extrapolate if host is playing
if (host.playbackState === 'playing' && host.lastHeartbeat) {
const elapsedSec = (Date.now() - host.lastHeartbeat) / 1000;
@@ -133,7 +133,7 @@ function getHostSyncTarget() {
targetTime += elapsedSec;
}
}
return { playbackState: host.playbackState, targetTime };
}
```
@@ -284,4 +284,3 @@ function getHostSyncTarget() {
- [Protocol Specification](PROTOCOL.md) — Technical event details
- [Architecture](ARCHITECTURE.md) — System overview
- [Internal Documentation](internal/host-control-mode-plan.md) — Original implementation plan (German)