call change status listener after disable account

This commit is contained in:
Daniel Gultsch 2014-04-03 15:13:43 +02:00
parent 217d18b6ac
commit b91c9afe4b

View file

@ -994,6 +994,7 @@ public class XmppConnectionService extends Service {
} }
public void updateAccount(Account account) { public void updateAccount(Account account) {
this.statusListener.onStatusChanged(account);
databaseBackend.updateAccount(account); databaseBackend.updateAccount(account);
reconnectAccount(account, false); reconnectAccount(account, false);
if (accountChangedListener != null) if (accountChangedListener != null)