mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
Report not connected/authenticated when resumeable
Since c81cd34561
we can report not
connected/authenticated when the client is disconnected but the stream
could be resumed. The previous behavior caused some confusion among
the users.
This commit is contained in:
parent
763f9c7c14
commit
504b550ef2
1 changed files with 3 additions and 3 deletions
|
@ -493,11 +493,11 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
if (isSmResumptionPossible() && instant) {
|
if (isSmResumptionPossible() && instant) {
|
||||||
disconnectedButResumeable = true;
|
disconnectedButResumeable = true;
|
||||||
} else {
|
} else {
|
||||||
|
disconnectedButResumeable = false;
|
||||||
|
}
|
||||||
authenticated = false;
|
authenticated = false;
|
||||||
connected = false;
|
connected = false;
|
||||||
usingTLS = false;
|
usingTLS = false;
|
||||||
disconnectedButResumeable = false;
|
|
||||||
}
|
|
||||||
reader = null;
|
reader = null;
|
||||||
writer = null;
|
writer = null;
|
||||||
maybeCompressFeaturesReceived.init();
|
maybeCompressFeaturesReceived.init();
|
||||||
|
|
Loading…
Reference in a new issue