mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
Logging in to a room server (first-time prompt or a remembered password) used to leave the user on the room list, needing a second Enter to open the chat. onRoomLoginResult() now opens the room history on success via a shared openDmHistory() helper (extracted from the Enter-on-contact path). The login result is async, so the auto-enter is gated on the user still being on that room in the picker: phase CONTACT_PICK, room mode, no context menu / share / pick-target sub-flow active, and the result pubkey matching the selected contact. Otherwise it stays put (no yanking the user into a screen they navigated away from). Resolves the "auto-enter after login" code-review item. Builds green: WioTrackerL1_companion_solo_dual. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>