sstrigler / JSJaC

JavaScript Jabber Client Library
Other
295 stars 86 forks source link

jsjac.js message sending / receiving flow #54

Closed pokal4u closed 11 years ago

pokal4u commented 11 years ago

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

rraptorr commented 11 years ago

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.