Commit 5a8ef679 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Remove log

parent a2e5be2e
...@@ -22,7 +22,6 @@ import chat.rocket.android.server.domain.GetCurrentServerInteractor ...@@ -22,7 +22,6 @@ import chat.rocket.android.server.domain.GetCurrentServerInteractor
import chat.rocket.android.server.domain.GetSettingsInteractor import chat.rocket.android.server.domain.GetSettingsInteractor
import chat.rocket.android.server.domain.TokenRepository import chat.rocket.android.server.domain.TokenRepository
import chat.rocket.android.server.domain.baseUrl import chat.rocket.android.server.domain.baseUrl
import chat.rocket.android.server.domain.hasShowLastMessage
import chat.rocket.android.server.domain.messageReadReceiptEnabled import chat.rocket.android.server.domain.messageReadReceiptEnabled
import chat.rocket.android.server.domain.useRealName import chat.rocket.android.server.domain.useRealName
import chat.rocket.android.util.extensions.avatarUrl import chat.rocket.android.util.extensions.avatarUrl
...@@ -346,7 +345,6 @@ class ViewModelMapper @Inject constructor( ...@@ -346,7 +345,6 @@ class ViewModelMapper @Inject constructor(
val avatar = getUserAvatar(message) val avatar = getUserAvatar(message)
val preview = mapMessagePreview(message) val preview = mapMessagePreview(message)
val isTemp = message.isTemporary ?: false val isTemp = message.isTemporary ?: false
println("setting MESSAGE_READ_RECEIPT_STORE_USERS set to ${settings.messageReadReceiptEnabled()}")
val unread = if (settings.messageReadReceiptEnabled() && currentUsername == senderUsername) { val unread = if (settings.messageReadReceiptEnabled() && currentUsername == senderUsername) {
message.unread ?: false message.unread ?: false
} else { } else {
......
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