mirror of
https://github.com/moparisthebest/Conversations
synced 2025-02-17 15:10:09 -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();
|
socket.close();
|
||||||
Log.d(Config.LOGTAG,account.getJid().toBareJid()+": closed tcp without closing stream");
|
Log.d(Config.LOGTAG,account.getJid().toBareJid()+": closed tcp without closing stream");
|
||||||
|
changeStatus(Account.State.OFFLINE);
|
||||||
} catch (IOException | InterruptedException e) {
|
} catch (IOException | InterruptedException e) {
|
||||||
return;
|
Log.d(Config.LOGTAG,account.getJid().toBareJid()+": error while closing socket for waitForPush()");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).start();
|
}).start();
|
||||||
|
Loading…
Reference in New Issue
Block a user