Add TODOs

This commit is contained in:
Benoit Marty 2020-02-01 00:27:19 +01:00
parent 2616a889ef
commit f2f775cb99
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ import im.vector.matrix.android.api.session.events.model.Content
import im.vector.matrix.android.api.session.room.model.relation.RelationDefaultContent
interface MessageContent {
// TODO Rename to msgType
val type: String
val body: String
val relatesTo: RelationDefaultContent?

View File

@ -52,6 +52,7 @@ internal class RoomSummaryUpdater @Inject constructor(
// TODO: maybe allow user of SDK to give that list
private val PREVIEWABLE_TYPES = listOf(
// TODO filter message type (KEY_VERIFICATION_READY, etc.)
EventType.MESSAGE,
EventType.STATE_ROOM_NAME,
EventType.STATE_ROOM_TOPIC,