{"action":"created","issue":{"url":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/196","labels_url":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/196/comments","events_url":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/196/events","html_url":"https://github.com/hipchat/hubot-hipchat/issues/196","id":42158198,"number":196,"title":"Hubot's msg.message.room doesn't handle room renames","user":{"login":"Hobbsee","id":3038925,"avatar_url":"https://avatars.githubusercontent.com/u/3038925?v=3","gravatar_id":"","url":"https://api.github.com/users/Hobbsee","html_url":"https://github.com/Hobbsee","followers_url":"https://api.github.com/users/Hobbsee/followers","following_url":"https://api.github.com/users/Hobbsee/following{/other_user}","gists_url":"https://api.github.com/users/Hobbsee/gists{/gist_id}","starred_url":"https://api.github.com/users/Hobbsee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hobbsee/subscriptions","organizations_url":"https://api.github.com/users/Hobbsee/orgs","repos_url":"https://api.github.com/users/Hobbsee/repos","events_url":"https://api.github.com/users/Hobbsee/events{/privacy}","received_events_url":"https://api.github.com/users/Hobbsee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-09-08T01:31:12Z","updated_at":"2015-04-28T07:31:17Z","closed_at":null,"body":"We've renamed some of our rooms in HipChat, but msg.message.room still reports the old name, rather than the updated name.\r\n\r\nWe then use https://rubygems.org/gems/hipchat-api to send HTML messages to this room, where hipchat-api throws an error due to the original room name no longer existing.  "},"comment":{"url":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/comments/96959580","html_url":"https://github.com/hipchat/hubot-hipchat/issues/196#issuecomment-96959580","issue_url":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/196","id":96959580,"user":{"login":"Hobbsee","id":3038925,"avatar_url":"https://avatars.githubusercontent.com/u/3038925?v=3","gravatar_id":"","url":"https://api.github.com/users/Hobbsee","html_url":"https://github.com/Hobbsee","followers_url":"https://api.github.com/users/Hobbsee/followers","following_url":"https://api.github.com/users/Hobbsee/following{/other_user}","gists_url":"https://api.github.com/users/Hobbsee/gists{/gist_id}","starred_url":"https://api.github.com/users/Hobbsee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hobbsee/subscriptions","organizations_url":"https://api.github.com/users/Hobbsee/orgs","repos_url":"https://api.github.com/users/Hobbsee/repos","events_url":"https://api.github.com/users/Hobbsee/events{/privacy}","received_events_url":"https://api.github.com/users/Hobbsee/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T07:31:17Z","updated_at":"2015-04-28T07:31:17Z","body":"@rbergman Your PR doesn't fix this for me - the room from msg.message.room still reports the old name.  This can also be triggered by putting capital letters or spaces in the room name - so, the Room called SupportSpam comes back as supportspam, even with your PR.\r\n\r\nI ran:\r\n<stop hubot>\r\nwget https://raw.githubusercontent.com/Yoichi-KIKUCHI/hubot-hipchat/master/src/hipchat.coffee\r\nmv hipchat.coffee ./node_modules/hubot-hipchat/src/hipchat.coffee\r\nchmod g-w ./node_modules/hubot-hipchat/src/hipchat.coffee\r\nstart hubot with bin/hubot -a hipchat\r\n\r\nWas this correct?\r\n"}}