sstrigler/JSJaC

jsjac.js message sending / receiving flow

Closed this issue · 1 comments

Hi,
can you explain jsjac.js sending/receiving functions flow?
how can i get user is offline/online?
some time not sending messages getting messages(attached file) in debugger (this time connection status: resume), working after 2-3 times refresh page

and if any other js errors. then jsjac connection terminated.

error

Thanks
Pokal4u

Information about user being online is carried via 'presence' stanzas in XMPP. See RFC6121 section 4 for detailed description: http://xmpp.org/rfcs/rfc6121.html#presence

Unfortunately, I completely don't understand the rest of your question.