Skip to content

v1.1.14

Choose a tag to compare

@yelosheng yelosheng released this 25 Mar 01:13

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_stats event after the service had already updated its room to the new target — causing updateRecentPeerDisplayName to be called with the new room ID but the old peer's name, which renamed the entry and deleted the legitimate peer record. Both room_stats and room_state_changed handlers 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 } from recentPeersFlow which was silently hiding peer entries that shared a display name, potentially causing the active peer's ✓ indicator to not appear.