From 45cc33ca36566ed05691a7bf06cf42193e9a6c5e Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 1 Jun 2016 21:30:50 +0200 Subject: [PATCH] deactivate grace period when coming to foreground --- .../eu/siacs/conversations/services/XmppConnectionService.java | 1 + 1 file changed, 1 insertion(+) 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();