Add MatrixRoomInfo.rawName.

This commit is contained in:
Benoit Marty 2024-05-15 10:06:54 +02:00
parent 0b9724af84
commit 12ad232ea8
3 changed files with 6 additions and 0 deletions

View file

@ -27,7 +27,10 @@ import kotlinx.collections.immutable.ImmutableMap
@Immutable
data class MatrixRoomInfo(
val id: RoomId,
/** The room's name from the room state event if received from sync, or one that's been computed otherwise. */
val name: String?,
/** Room name as defined by the room state event only. */
val rawName: String?,
val topic: String?,
val avatarUrl: String?,
val isDirect: Boolean,