Merge branch 'develop' into feature/bca/spaces_sdk
This commit is contained in:
commit
b86fd37c15
@ -35,11 +35,12 @@ data class RoomSummary constructor(
|
|||||||
val avatarUrl: String = "",
|
val avatarUrl: String = "",
|
||||||
val canonicalAlias: String? = null,
|
val canonicalAlias: String? = null,
|
||||||
val aliases: List<String> = emptyList(),
|
val aliases: List<String> = emptyList(),
|
||||||
|
val isDirect: Boolean = false,
|
||||||
|
val directUserId: String? = null,
|
||||||
val joinedMembersCount: Int? = 0,
|
val joinedMembersCount: Int? = 0,
|
||||||
val invitedMembersCount: Int? = 0,
|
val invitedMembersCount: Int? = 0,
|
||||||
val latestPreviewableEvent: TimelineEvent? = null,
|
val latestPreviewableEvent: TimelineEvent? = null,
|
||||||
val otherMemberIds: List<String> = emptyList(),
|
val otherMemberIds: List<String> = emptyList(),
|
||||||
val isDirect: Boolean = false,
|
|
||||||
val notificationCount: Int = 0,
|
val notificationCount: Int = 0,
|
||||||
val highlightCount: Int = 0,
|
val highlightCount: Int = 0,
|
||||||
val hasUnreadMessages: Boolean = false,
|
val hasUnreadMessages: Boolean = false,
|
||||||
|
@ -45,6 +45,7 @@ internal class RoomSummaryMapper @Inject constructor(private val timelineEventMa
|
|||||||
topic = roomSummaryEntity.topic ?: "",
|
topic = roomSummaryEntity.topic ?: "",
|
||||||
avatarUrl = roomSummaryEntity.avatarUrl ?: "",
|
avatarUrl = roomSummaryEntity.avatarUrl ?: "",
|
||||||
isDirect = roomSummaryEntity.isDirect,
|
isDirect = roomSummaryEntity.isDirect,
|
||||||
|
directUserId = roomSummaryEntity.directUserId,
|
||||||
latestPreviewableEvent = latestEvent,
|
latestPreviewableEvent = latestEvent,
|
||||||
joinedMembersCount = roomSummaryEntity.joinedMembersCount,
|
joinedMembersCount = roomSummaryEntity.joinedMembersCount,
|
||||||
invitedMembersCount = roomSummaryEntity.invitedMembersCount,
|
invitedMembersCount = roomSummaryEntity.invitedMembersCount,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user