0

Maybe someone has examples of code? I can't find anything about it. Jabber server - ejabberd.

Meliborn
  • 6,495
  • 6
  • 34
  • 53

2 Answers2

0

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.

Mickaël Rémond
  • 9,035
  • 1
  • 24
  • 44
0

if you are looking for ejabberd xmpp server. https://github.com/processone/ejabberd maybe this is what you want!

Scorpiuszjj
  • 91
  • 1
  • 5