jsjac.js message sending / receiving flow
pokal4u opened this issue · comments
pokal4u commented
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.
Thanks
Pokal4u
Janusz Dziemidowicz commented
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.