3 Replies Latest reply on Jul 21, 2017 5:36 AM by Urs Steger

    Smack 4.2.0 does not call reconnectionSuccessful() anymore. Bug?

    Urs Steger

      When using Smack 4.1.7 the ConnectionListener method reconnectionSuccessful() is called after reconnection.

      Now in Smack 4.2.0 this method is never called because the method call notifyReconnection() was removed from XMPPTCPConnection.

      Is this a bug?

       

      XMPPTCPConnection.java (4.2.0)

      protected void connectInternal() throws SmackException, IOException, XMPPException {

        closingStreamReceived.init();

        connectUsingConfiguration();

        initConnection();

        callConnectionConnectedListener();

         if (wasAuthenticated) {

        login();

        notifyReconnection();   // 4.1.7

        }

      }