reconnect account after adding to ConnectionPool
This commit is contained in:
parent
6983aedddc
commit
da65960fd1
|
@ -78,6 +78,7 @@ public class ConnectionPool {
|
|||
for (final Account account : added) {
|
||||
final XmppConnection connection = this.instantiate(context, account);
|
||||
connection.setOnStatusChangedListener(this::onStatusChanged);
|
||||
reconnectAccount(connection);
|
||||
}
|
||||
for (final Account account : removed) {
|
||||
final Optional<XmppConnection> connectionOptional =
|
||||
|
|
Loading…
Reference in a new issue