ReconnectionSuccessful listeners are invoked twice on reconnection if connect() failed before

Description

If the connection was created, connected but failed to login, on the following reconnection notifyReconnection() is called twice - once before and once after login.

Removing this `else if` block should fix it.

This bug was introduced with cs11652 / https://igniterealtime.atlassian.net/browse/SMACK-295#icft=SMACK-295

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created June 11, 2013 at 11:38 AM
Updated August 17, 2014 at 1:11 PM
Resolved October 26, 2013 at 11:26 AM

Flag notifications