diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-06-01 21:30:50 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-06-01 21:30:50 +0200 |
commit | 45cc33ca36566ed05691a7bf06cf42193e9a6c5e (patch) | |
tree | 362d99f42d082bacd6692642ebedf36d43007244 /src/main/java | |
parent | 20ba1add1eaeb43a522189a85471ac3c4e1a3933 (diff) |
deactivate grace period when coming to foreground
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index fa8ac0edd..68ad65361 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -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(); |