delay is coming for online users

Hi...
I am new to the ejabberd and trying to make a chat using strophe.
After auth when the presence stanza is initiated the response for the contacts is showing delay tag in response but the other user is online. Can u plz guide me what I am missing.

Here is the xml I am getting

Here is the xml I am getting when presence staza is called:
where vinay@192.168.0.155 is the logged in user making the request where as test@192.168.0.155 is the contact user< body xmlns="http://jabber.org/protocol/httpbind" >
< presence xmlns="jabber:client" from="vinay@192.168.0.155/7060184961449741439175624" to="vinay@192.168.0.155/7060184961449741439175624" / >
< presence xmlns="jabber:client" from="test@192.168.0.155/19448357031449741314349932" to="vinay@192.168.0.155/7060184961449741439175624" >
< delay xmlns="urn:xmpp:delay" from="test@192.168.0.155/19448357031449741314349932" stamp="2015-12-10T09:55:15Z" / >
< x xmlns="jabber:x:delay" stamp="20151210T09:55:15" / >
< /presence >
< presence xmlns="jabber:client" from="vinay@192.168.0.155/3424552252144974134853290" to="vinay@192.168.0.155/7060184961449741439175624" >
< delay xmlns="urn:xmpp:delay" from="vinay@192.168.0.155/3424552252144974134853290" stamp="2015-12-10T09:55:48Z" / >
< x xmlns="jabber:x:delay" stamp="20151210T09:55:48" / >
< /presence >
< /body >

Use other well-known Jabber

Use other well-known Jabber clients, like Psi, Gajim, Tkabber. All them have some XML console so you can see what they send and receive. And compare their traffic with the one in your client.

Syndicate content