Check if contact is online in node-xmpp
Domanda
Maybe someone has examples of code? I can't find anything about it. Jabber server - ejabberd.
Soluzione
As a client, you know a contact is online when: - he authorized your account to see his presence, - AND you receive his presence in your client.
Consequence: You have to track the presence of your contact on the client-side.
Altri suggerimenti
if you are looking for ejabberd xmpp server. https://github.com/processone/ejabberd maybe this is what you want!
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow