mirror of
https://github.com/moparisthebest/Conversations
synced 2025-01-07 11:48:00 -05:00
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);
|
this.mNotificationService.setIsInForeground(false);
|
||||||
Log.d(Config.LOGTAG, "app switched into background");
|
Log.d(Config.LOGTAG, "app switched into background");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user