Fix disappearing messages when no history is loaded.

cusax-fix
Yana Stamcheva 17 years ago
parent 11dd107fe4
commit edeafd43eb

@ -545,8 +545,6 @@ else if(o instanceof ChatRoomMessageReceivedEvent)
conversationPanel.appendMessageToEnd(historyString);
}
isHistoryLoaded = true;
getChatWindow().getMainToolBar()
.changeHistoryButtonsState(this);
}
@ -1292,6 +1290,8 @@ public void finished()
processHistory(historyList, escapedMessageID);
}
isHistoryLoaded = true;
// Add incoming events accumulated while the history was loading
// at the end of the chat.
addIncomingEvents();

Loading…
Cancel
Save