Commit 7e29bed9 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Remove log

parent dc5e1525
......@@ -7,7 +7,6 @@ import chat.rocket.core.model.Message
import com.squareup.moshi.Moshi
import kotlinx.coroutines.experimental.CommonPool
import kotlinx.coroutines.experimental.withContext
import org.json.JSONObject
class SharedPreferencesMessagesRepository(
private val prefs: SharedPreferences,
......@@ -87,7 +86,6 @@ class SharedPreferencesMessagesRepository(
withContext(CommonPool) {
currentServerInteractor.get()?.also {
val adapter = moshi.adapter<Message>(Message::class.java)
println("Reactions -> ${JSONObject(adapter.toJson(message)).get("reactions")}")
prefs.edit().putString("${it}_${message.id}", adapter.toJson(message)).apply()
}
}
......
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