mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-27 00:32:07 +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) {
|
private boolean updateChatState(Chat chat, ChatState newState) {
|
||||||
ChatState lastChatState = chatStates.get(chat);
|
ChatState lastChatState = chatStates.get(chat);
|
||||||
if (lastChatState == null || lastChatState != newState) {
|
if (lastChatState != newState) {
|
||||||
chatStates.put(chat, lastChatState);
|
chatStates.put(chat, newState);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue