Commit c104d3b8 authored by Lucio Maciel's avatar Lucio Maciel

Fix duplicate messages with backstack

parent 0ddd70df
......@@ -141,7 +141,7 @@ class ChatRoomPresenter @Inject constructor(
broadcast
} ?: false
view.onRoomUpdated(userCanPost, chatIsBroadcast, userCanMod)
loadMessages(roomId, roomType)
loadMessages(roomId, roomType, clearDataSet = true)
chatRoomMessage?.let { messageHelper.messageIdFromPermalink(it) }
?.let { messageId ->
val name = messageHelper.roomNameFromPermalink(chatRoomMessage)
......
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