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 a new issue