smack-bosh sends duplicate unavailable presence while disconnecting -- makes performance delay for HTTP response

Discussion created by Zigma on Feb 16, 2015
Latest reply on Feb 16, 2015 by Flow

https://github.com/igniterealtime/Smack/blob/master/smack-bosh/src/main/java/org /jivesoftware/smack/bosh/XMPPBOSHConnect…


Line 291 ..... to ...... 302 can be removed, because the presence was already sent before reaching this line number


otherwise check for current sent presence if any, before sending this presence