From b4a05f7b02ca84c51f561c0fb5e3630d2918a98a Mon Sep 17 00:00:00 2001 From: ramabit Date: Tue, 12 Jul 2016 14:31:04 -0300 Subject: [PATCH] add docs and small fix --- documentation/extensions/index.md | 2 ++ .../java/org/jivesoftware/smack/AbstractXMPPConnection.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/documentation/extensions/index.md b/documentation/extensions/index.md index 3bb98ce325..7cf4832714 100644 --- a/documentation/extensions/index.md +++ b/documentation/extensions/index.md @@ -15,6 +15,8 @@ Currently supported XEPs of Smack (all subprojects) | Name | XEP | Description | |---------------------------------------------|----------------------------------------------------------|----------------------------------------------------------------------------------------------------------| | Nonzas | [XEP-0360](http://xmpp.org/extensions/xep-0360.html) | Defines the term "Nonza", describing every top level stream element that is not a Stanza. | +| Token-based reconnection | [XEP-xxxx](http://www.xmpp.org/extensions/inbox/token-reconnection.html) | Defines a token-based session authentication mechanism. | + Currently supported XEPs of smack-tcp ------------------------------------- diff --git a/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java b/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java index a7c6db5c36..514d8d02c5 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java @@ -411,7 +411,7 @@ public synchronized AbstractXMPPConnection connect() public void avoidTokenReconnection() { usedToken = null; } - + /** * Logs in to the server using the strongest SASL mechanism supported by the * server. If more than the connection's default stanza(/packet) timeout