M
M
Meliborn2012-08-10 10:37:56
Node.js
Meliborn, 2012-08-10 10:37:56

How to receive messages from ejabberd in node.js?

I can send without problems using node-xmpp. On the contrary, it is not clear how.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Meliborn, 2012-08-10
@Meliborn

cl.addListener('stanza', function(stanza) {
connection.write(stanza.children[1].children);
console.log(stanza.children[1].children);
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question