Skip to content

bot.connect / room.register does not have section #183

@Izzmo

Description

@Izzmo

I have noticed that if you try to connect right now, it will always try and connect to section 0 of a room, full or not. If there is another section, it will not try to connect to it.

The poses a couple problems:

  1. There is nothing in place to try and reconnect to a different section.
  2. When connecting to a different section other than 0, the whichServer method no longer works since it was not written with sections in mind, so you will get a wrong chat server, potentially. In my case, the chat server has always been wrong.

The only way around this is probably to parse the error message (unless there is an appropriate API call), and get the chat server that way for the section and then reconnect using it.

I have some code written, but I'm not sure if anyone really needs it or not, as most people will not have to deal with multiple sections when joining a room, and/or would not want to join a section other than the main one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions