metajack / strophejs

The Strophe.js repository has moved to https://github.com/strophe/strophejs
http://strophe.im/strophejs
MIT License
810 stars 160 forks source link

Strophe only send message out when new message comes in #101

Open jackyjia opened 11 years ago

jackyjia commented 11 years ago

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.

dotmilk commented 11 years ago

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