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

Room toJson fails when room doesn't have an owner #42

Open
G-Rath opened this issue May 25, 2017 · 1 comment
Open

Room toJson fails when room doesn't have an owner #42

G-Rath opened this issue May 25, 2017 · 1 comment

Comments

@G-Rath
Copy link

G-Rath commented May 25, 2017

I have a couple of rooms that don't have owners, which causes toJson to fail when called on those rooms.

While this may be a bug in HipChat, there should be a null check in toJson for when the owner is null.

@G-Rath
Copy link
Author

G-Rath commented May 25, 2017

This is because the get_all_rooms API endpoint doens't return the owner in it's call.

Regardless this shouldn't trigger an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant