mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
Added support for offline presence, code cleanup (SMACK-74, SMACK-201).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7185 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
fb0cb0476a
commit
2e5f42aa39
3 changed files with 148 additions and 85 deletions
|
@ -630,11 +630,12 @@ public class XMPPConnection {
|
|||
* @param unavailablePresence the presence packet to send during shutdown.
|
||||
*/
|
||||
public void disconnect(Presence unavailablePresence) {
|
||||
this.shutdown(unavailablePresence);
|
||||
shutdown(unavailablePresence);
|
||||
|
||||
this.roster = null;
|
||||
roster.cleanup();
|
||||
roster = null;
|
||||
|
||||
this.wasAuthenticated = false;
|
||||
wasAuthenticated = false;
|
||||
|
||||
packetWriter.cleanup();
|
||||
packetWriter = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue