Did it work before: No, we had same issue on 0.2.3
Steps to reproduce:
Connect to the chat:
String userJid = ""; // full user jid
xmpp.XmppAccountSettings accountSettings = xmpp.XmppAccountSettings.fromJid(userJid, password);
xmpp.Connection _connection = xmpp.Connection.getInstance(accountSettings);
_connection.connect();
Close chant connection:
_connection.close();
Connect again:
_connection.connect();
Actual result:
Request on enabling Stream management doesn't send.
Stream management ackRequests doesn't send to the server.
Expected result:
Request on enabling Stream management sends like after first login.
Stream management ackRequests send to the server every 5 second like after first login.
Additional info:
Looks like issue related with StreamManagementModule and ConnectionNegotatiorManager which uses singleton of StreamManagementModule and during second login it doesn't initialise, because already has state NegotiatorState.DONE.
Version: 0.2.5
Did it work before: No, we had same issue on 0.2.3
Steps to reproduce:
Actual result: Request on enabling Stream management doesn't send. Stream management
ackRequest
s doesn't send to the server.Expected result: Request on enabling Stream management sends like after first login. Stream management
ackRequest
s send to the server every 5 second like after first login.Additional info: Looks like issue related with
StreamManagementModule
andConnectionNegotatiorManager
which uses singleton ofStreamManagementModule
and during second login it doesn't initialise, because already has stateNegotiatorState.DONE
.