disconnect account in background after deletion. fixes #1861

This commit is contained in:
Daniel Gultsch 2016-06-03 14:18:43 +02:00
parent 583aba1b44
commit e402348f9b

View file

@ -1562,7 +1562,12 @@ public class XmppConnectionService extends Service {
}
}
if (account.getXmppConnection() != null) {
this.disconnect(account, true);
new Thread(new Runnable() {
@Override
public void run() {
disconnect(account, true);
}
});
}
Runnable runnable = new Runnable() {
@Override