buddycloud / buddycloud-http-api

The buddycloud API server written in Node.js
https://buddycloud.org/wiki/Buddycloud_HTTP_API
39 stars 17 forks source link

Connect to XMPP server by IP #58

Closed Schnouki closed 11 years ago

Schnouki commented 11 years ago

There's a little problem with Tigase clusters: the HTTP API need to connect to the same node as the channels server in order to be able to communicate with it. Until it's fixed in Tigase, we should make it possible to have the HTTP API connect to a configurable IP as a workaround.

lloydwatkin commented 11 years ago

Isn't that what this allows:

https://github.com/buddycloud/buddycloud-http-api/blob/master/src/util/session.js#L89

If so then I think it's just a case of updating the example config file which I'll make a pull request for now.