Skip to content

Bot crashes if no room config is found #48

@turt2live

Description

@turt2live

Some senders lowercase the email address, making it impossible to find a room config (without a custom mapping). Util.getRoomConfig returns null in this case, which the config finding code happily treats as a config, which then accesses properties on a null object, and the bot crashes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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