mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-30 02:02:06 +01:00
A real fix for SMACK-229
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8480 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
049ca8975e
commit
560e891cec
1 changed files with 2 additions and 2 deletions
|
@ -144,8 +144,8 @@ public class ChatStateManager {
|
|||
|
||||
private boolean updateChatState(Chat chat, ChatState newState) {
|
||||
ChatState lastChatState = chatStates.get(chat);
|
||||
if (lastChatState == null || lastChatState != newState) {
|
||||
chatStates.put(chat, lastChatState);
|
||||
if (lastChatState != newState) {
|
||||
chatStates.put(chat, newState);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue