Commit c134cf1f authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update method call.

parent 85223eaf
......@@ -134,7 +134,7 @@ class ChatRoomPresenter @Inject constructor(private val view: ChatRoomView,
fun markRoomAsRead(roomId: String) {
launchUI(strategy) {
try {
client.read(roomId)
client.markAsRead(roomId)
} catch (ex: RocketChatException) {
view.showMessage(ex.message!!) // TODO Remove.
Timber.e(ex) // FIXME: Right now we are only catching the exception with Timber.
......
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