Your ROOT_URL in app.ini is unix://git.lalonde.me:3000/ but you are visiting https://git.lalonde.me/matth/node-xmpp-client/commit/dc0263dc72337c5ddd5a7efd8ce9505ec3f640d2?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
21 additions and
4 deletions
@ -62,6 +62,11 @@ The client throw events :
* _presence:error_
* _presence:error_
* _message_
* _message_
And some attributes are available :
* _presences_
* _roster_
### IQ ###
### IQ ###
Iq is handled quietly. You can ask someone with a callback, for the response.
Iq is handled quietly. You can ask someone with a callback, for the response.
@ -75,9 +80,9 @@ Iq is handled quietly. You can ask someone with a callback, for the response.
Answering a distant iq is handled with an handler. Default object handles :
Answering a distant iq is handled with an handler. Default object handles :
* _http://jabber.org/protocol/disco#info_
* _http://jabber.org/protocol/disco#info_ :discovery
* _jabber:iq:last_
* _jabber:iq:last_ : last action
* _jabber:iq:version_
* _jabber:iq:version_ : client version
Here is an example :
Here is an example :
@ -96,4 +101,16 @@ Not handled iq throws an event : _iq:unknow_
Just like Client, room is created with a callback, triggered when presence is return from the server.
Just like Client, room is created with a callback, triggered when presence is return from the server.
this.room('beuha', function(status) {})
this.room('beuha', function(status) {
});
Events :
* _presence_
* _message_
Available attributes :
* _affiliation_
* _role_