Commit ad76db4a authored by Yusuke Iwaki's avatar Yusuke Iwaki

fix issue that "new 1 message" is shown on sending message.

parent 38d367ff
......@@ -305,6 +305,8 @@ public class RoomFragment extends AbstractChatRoomFragment
.put(Message.SYNC_STATE, SyncState.NOT_SYNCED)
.put(Message.TIMESTAMP, System.currentTimeMillis())
.put(Message.ROOM_ID, roomId)
.put(Message.USER, new JSONObject()
.put(User.ID, userId))
.put(Message.MESSAGE, messageText)))
.onSuccess(_task -> {
scrollToLatestMessage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment