v1.1.14
Bug Fixes
-
Fix peer display name corruption (竞态条件修复): When switching between paired PCs, a race condition could cause the wrong PC name to be stored in the peer history. The old relay socket could deliver a stale
room_statsevent after the service had already updated its room to the new target — causingupdateRecentPeerDisplayNameto be called with the new room ID but the old peer's name, which renamed the entry and deleted the legitimate peer record. Bothroom_statsandroom_state_changedhandlers now validate the event's room field against the currently connected room and discard stale cross-room events. -
Fix peer list hiding entries (移除 distinctBy): Removed
distinctBy { it.displayName }fromrecentPeersFlowwhich was silently hiding peer entries that shared a display name, potentially causing the active peer's ✓ indicator to not appear.