~emersion/soju#170: 
Handle channel redirections

Sometimes, servers reply to JOIN #channelA with another channel :soju@! JOIN #channelB (e.g. ##Linux -> #linux or #nodejs -> #node.js on libera, see #149)

soju should make use of either:

  • labeled-response, check the channel name in the JOIN reply and update the db if it's different
  • draft/channel-rename[0], handle FAIL CHANNEL_RENAMED, update the channel name and join the new channel

The current workaround to part a redirected channel is to /quote PART #channelA and then /quote PART #channelB

[0] https://ircv3.net/specs/extensions/channel-rename

Status
REPORTED
Submitter
~taiite
Assigned to
No-one
Submitted
a month ago
Updated
a month ago
Labels
enhancement upstream

~emersion a month ago

We should be able to handle ERR_LINKCHANNEL maybe?

~emersion a month ago

Note, we're getting 443 mynick mynick #rust :is already on channel errors if the user has JOINed both channels.

Register here or Log in to comment, or comment via email.