1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 09:09:38 +02:00

Move notifyReconnection in AbstractXMPPConnection

This commit is contained in:
Florian Schmaus 2015-01-07 20:02:01 +01:00
parent 82eb9b18dd
commit 67c0a7089b
4 changed files with 19 additions and 24 deletions

View file

@ -479,9 +479,7 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection {
if (wasAuthenticated) {
login();
}
for (ConnectionListener listener : getConnectionListeners()) {
listener.reconnectionSuccessful();
}
notifyReconnection();
}
catch (Exception e) {
for (ConnectionListener listener : getConnectionListeners()) {