1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 18:29:45 +02:00

Add AuthenticatedConnectionInitiallyEstablished timestamp

This commit is contained in:
Florian Schmaus 2019-03-09 19:19:20 +01:00
parent c4289b2c18
commit 569f7417a8
2 changed files with 20 additions and 0 deletions

View file

@ -527,6 +527,8 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
// Reset the stream management session id to null, since if the stream is cleanly closed, i.e. sending a closing
// stream tag, there is no longer a stream to resume.
smSessionId = null;
// Note that we deliberately do not reset authenticatedConnectionInitiallyEstablishedTimestamp here, so that the
// information is available in the connectionClosedOnError() listeners.
}
authenticated = false;
connected = false;