mirror of
https://github.com/ChronosX88/Influence-P2P.git
synced 2024-11-22 07:12:19 +00:00
Fixed issue with updating message list
This commit is contained in:
parent
46dbbf8df9
commit
8a960b0b15
@ -133,7 +133,7 @@ public class ChatLogic implements IChatLogicContract {
|
||||
case NetworkActions.TEXT_MESSAGE: {
|
||||
TextMessage textMessage = gson.fromJson(json, TextMessage.class);
|
||||
LocalDBWrapper.createMessageEntry(NetworkActions.TEXT_MESSAGE, textMessage.getMessageID(), textMessage.getChatID(), textMessage.getUsername(), textMessage.getSenderID(), textMessage.getTimestamp(), textMessage.getText(), true, false);
|
||||
ObservableUtils.notifyUI(UIActions.MESSAGE_RECEIVED, textMessage.getMessageID());
|
||||
ObservableUtils.notifyUI(UIActions.MESSAGE_RECEIVED, chatID, textMessage.getMessageID());
|
||||
break;
|
||||
}
|
||||
case NetworkActions.JOIN_CHAT: {
|
||||
|
Loading…
Reference in New Issue
Block a user