diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-02-23 21:47:35 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-02-23 21:47:35 +0100 |
commit | 8319446c03ad4586150ae4d38cb1861aba2decf9 (patch) | |
tree | 693686bd3577d01adebf98062e58e598d8b46a09 /src/main/java/eu/siacs/conversations/services | |
parent | 37e9db32998f640cad53523af07395de960cdc2f (diff) |
reset incoming chat state when going into background
Diffstat (limited to 'src/main/java/eu/siacs/conversations/services')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 3 |
1 files changed, 3 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 1d2def93..90f69338 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -1341,6 +1341,9 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa } } } + for(Conversation conversation : getConversations()) { + conversation.setIncomingChatState(ChatState.ACTIVE); + } this.mNotificationService.setIsInForeground(false); Log.d(Config.LOGTAG, "app switched into background"); } |