mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-11 11:45:01 -05:00
deactivate grace period when coming to foreground
This commit is contained in:
parent
20ba1add1e
commit
45cc33ca36
@ -1795,6 +1795,7 @@ public class XmppConnectionService extends Service {
|
||||
}
|
||||
for (Account account : getAccounts()) {
|
||||
if (account.getStatus() == Account.State.ONLINE) {
|
||||
account.deactivateGracePeriod();
|
||||
XmppConnection connection = account.getXmppConnection();
|
||||
if (connection != null && connection.getFeatures().csi()) {
|
||||
connection.sendActive();
|
||||
|
Loading…
Reference in New Issue
Block a user