{"action":"closed","issue":{"url":"https://api.github.com/repos/gbin/err/issues/348","labels_url":"https://api.github.com/repos/gbin/err/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/gbin/err/issues/348/comments","events_url":"https://api.github.com/repos/gbin/err/issues/348/events","html_url":"https://github.com/gbin/err/issues/348","id":77534799,"number":348,"title":"Unable to use HipChat backend with HipChat Server","user":{"login":"amorphic","id":1538480,"avatar_url":"https://avatars.githubusercontent.com/u/1538480?v=3","gravatar_id":"","url":"https://api.github.com/users/amorphic","html_url":"https://github.com/amorphic","followers_url":"https://api.github.com/users/amorphic/followers","following_url":"https://api.github.com/users/amorphic/following{/other_user}","gists_url":"https://api.github.com/users/amorphic/gists{/gist_id}","starred_url":"https://api.github.com/users/amorphic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amorphic/subscriptions","organizations_url":"https://api.github.com/users/amorphic/orgs","repos_url":"https://api.github.com/users/amorphic/repos","events_url":"https://api.github.com/users/amorphic/events{/privacy}","received_events_url":"https://api.github.com/users/amorphic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gbin/err/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-18T07:13:25Z","updated_at":"2015-07-16T15:39:31Z","closed_at":"2015-07-16T15:39:31Z","body":"Err's HipChat backend forgoes the HipChat v2 API in favour of standard XMPP for basic chat functions as per https://github.com/gbin/err/commit/aef572ab790e0510d247499087039b8f8bf185fd.\r\n\r\nHowever the HipChat backend still uses the HipChat v2 API for higher-level functionality such as creating and joining rooms. This happens in the `HipChatMUCRoom` class which in turn uses [hypchat](https://github.com/RidersDiscountCom/HypChat).\r\n\r\nHowever the HipChat backend provides no interface to set hypchat's `endpoint` kwarg:\r\n\r\n`self.hypchat = hypchat.HypChat(self.token)`\r\n\r\nThis prevents the HipChat backend from being used with HipChat Server. The pure XMPP backend can still be used with HipChat Server for basic functionality, but querying users, creating rooms etc doesn't really work.\r\n\r\nIt would be great if the HipChat backend allowed the hypchat `endpoint` to be specified so that the full range of the HipChat backend's functionality could be used with HipChat Server."}}