Rejoin the voice channel after an update restart #784

Closed
opened 2026-11-17 20:09:00 +00:00 by charles · 1 comment
Owner

Reported by Charles, 2026-11-17: "on update it doesn't automatically reconnect to the last voice channel. It does take us to the server but not the voice channel."

What happens. In a voice channel, the user clicks the update button (or "Restart" in the in-call confirmation). The app restarts on the new version and restores the community and channel on screen (#615), but the voice connection is gone: the user has to join again by hand, and the others hear them leave and come back only if they notice.

Wanted. A restart that the updater performs while the user is connected to voice puts them back in that voice channel after the restart, with the same self-mute and self-deafen state, without a click.

Design constraints.

  • Only for a restart the app itself performs to update (apply with relaunch), not for an ordinary start: a normal launch must never join voice by itself.
  • The intent is written just before the relaunch (channel, guild or DM call, mute/deafen, a timestamp) and consumed once at the next start; it expires after a short time (a few minutes) so a failed or delayed relaunch does not join voice later unexpectedly; it is cleared on logout and ignored for another account.
  • If the channel is gone, full, or the user lacks permission, do not join and say nothing alarming (the normal refusal handling).
  • Screen share and camera are NOT restarted automatically (a share needs the portal picker and consent again); say so in the in-call restart confirmation if the user is sharing.
  • Check what the original does after its own update restart (~/src/fluxer-soundboard: the updater's relaunch and any "rejoin voice" state) and note any difference.
  • Both installers: AppImage re-exec on Linux, Velopack restart on Windows (the Windows path cannot be run here).
**Reported by Charles, 2026-11-17:** "on update it doesn't automatically reconnect to the last voice channel. It does take us to the server but not the voice channel." **What happens.** In a voice channel, the user clicks the update button (or "Restart" in the in-call confirmation). The app restarts on the new version and restores the community and channel on screen (#615), but the voice connection is gone: the user has to join again by hand, and the others hear them leave and come back only if they notice. **Wanted.** A restart that the updater performs while the user is connected to voice puts them back in that voice channel after the restart, with the same self-mute and self-deafen state, without a click. **Design constraints.** - Only for a restart the app itself performs to update (apply with relaunch), not for an ordinary start: a normal launch must never join voice by itself. - The intent is written just before the relaunch (channel, guild or DM call, mute/deafen, a timestamp) and consumed once at the next start; it expires after a short time (a few minutes) so a failed or delayed relaunch does not join voice later unexpectedly; it is cleared on logout and ignored for another account. - If the channel is gone, full, or the user lacks permission, do not join and say nothing alarming (the normal refusal handling). - Screen share and camera are NOT restarted automatically (a share needs the portal picker and consent again); say so in the in-call restart confirmation if the user is sharing. - Check what the original does after its own update restart (`~/src/fluxer-soundboard`: the updater's relaunch and any "rejoin voice" state) and note any difference. - Both installers: AppImage re-exec on Linux, Velopack restart on Windows (the Windows path cannot be run here).
Author
Owner

In nightly 2026.1117.364 (PR #787). A real updater relaunch has not been tried on either OS.

In nightly 2026.1117.364 (PR #787). A real updater relaunch has not been tried on either OS.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#784
No description provided.