Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autojoin channels are rejoined after reconnection if all channels were closed #560

Closed
flashcode opened this issue Oct 24, 2015 · 1 comment
Assignees
Labels
bug Unexpected problem or unintended behavior
Milestone

Comments

@flashcode
Copy link
Member

flashcode commented Oct 24, 2015

When all channels of a server are closed (/buffer close), a reconnection to the server (with /reconnect or after a network disconnection) will rejoin all channels in .autojoin option.
But if at least one channel was still opened, the reconnection will not rejoin other channels in .autojoin option.
Expected behavior: never rejoin new channels on reconnection but only currently opened channels.

Reported by Boobuigi_ on #weechat.

Bug on Savannah: https://savannah.nongnu.org/bugs/?21529

@flashcode flashcode added the bug Unexpected problem or unintended behavior label Oct 24, 2015
@mkoskar
Copy link
Contributor

mkoskar commented Jan 16, 2018

I would suggest to:

  • keep /connect and /reconnect behaviour as is; it processes .autojoin (if set) by default + rejoins all channels in opened buffers; if -nojoin is passed no channels are autojoined or rejoined
  • create configuration option irc.(server_default|<server>).autoreconnect_autojoin (on - default / off); on - when auto-reconnecting process (or don't in off case) autojoins (if set)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants