mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-04 16:25:06 -05:00
explictly set account status to offline when waiting for push
This commit is contained in:
parent
121312d103
commit
a51de9fcd9
@ -1327,8 +1327,9 @@ public class XmppConnection implements Runnable {
|
||||
}
|
||||
socket.close();
|
||||
Log.d(Config.LOGTAG,account.getJid().toBareJid()+": closed tcp without closing stream");
|
||||
changeStatus(Account.State.OFFLINE);
|
||||
} catch (IOException | InterruptedException e) {
|
||||
return;
|
||||
Log.d(Config.LOGTAG,account.getJid().toBareJid()+": error while closing socket for waitForPush()");
|
||||
}
|
||||
}
|
||||
}).start();
|
||||
|
Loading…
Reference in New Issue
Block a user