powered by Jive Software

Disconnect Presence unchange

Currently, calling disconnect() will send a unavailable presence.

I would like to ask if smack have a function to disconnect XMPPConnection without sending unavailable presence packet?

Or if i don’'t disconnect the XMPPConnection and start many other XMPP connection, what will the problem?

Why wouldn’‘t you want to send a presence when you disconnect? If it’‘s because you’‘re connected somewhere else, that’'s already accounted for in the XMPP spec.