reset incoming chat state when going into background
This commit is contained in:
parent
37e9db3299
commit
8319446c03
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue