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

Bot crashes if no room config is found #48

Open
turt2live opened this issue Jul 11, 2018 · 0 comments
Open

Bot crashes if no room config is found #48

turt2live opened this issue Jul 11, 2018 · 0 comments
Labels

Comments

@turt2live
Copy link
Member

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.

@turt2live turt2live added the bug label Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant