Skip to content

get_room should not create a room, since YRoom might be subclassed #34

@Zsailer

Description

@Zsailer

Right now, get_room will create an instance of a YRoom if the room doesn't exist. This is problematic for libraries that subclass YRoom, e.g. jupyter-collaboration uses it's own DocumentRoom subclass. The room is created and added to the Websocket Server using the add_room API. This can lead to an unintentional creation of a mix of YRoom and DocumentRoom instances.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions