@gaurangkela wrote:
events are published while making chat with XMPP server, server published events like…
this.client.on('message:sent', function (msg) { console.log("message:sent"); console.log(msg); ); this.client.on('pubsub:event', function (msg) { console.log("pubsub:event"); console.log(msg); ); this.client.on('message', function (msg) { console.log("message"); console.log(msg); ); this.client.on('stanza', function (msg) { console.log("stanza") console.log(msg); });
what will be impact on app if i use this events listener multiple times? does it will increase the load on application or anything else problem occurred? or any other side effect?
Posts: 1
Participants: 1