metajack / strophejs

The Strophe.js repository has moved to https://github.com/strophe/strophejs

Home Page:http://strophe.im/strophejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strophe only send message out when new message comes in

jackyjia opened this issue · comments

Hi all,

I experienced the problem when sending a single messages out, strophe will not actually send it out, but queued them up instead, and wait for about half a minute. If during the period a new message comes in, queued message will be sent out immediately.

I tried conn.flush(), however, doesn't seem to work.

I use the latest strophe js: v1.0.3.

Any ideas?

Thanks in advance.

Could I see a gist of what it is you are trying to do, so i can replicate it?