From 869384f59a89b2c233a65f57a9c190bcf99bc5c3 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Thu, 8 Oct 2020 16:09:37 +0200 Subject: [PATCH] Fix isDirect information getting lost Fixes direct chats looking like group chats after recreation due to theme change. Change-Id: Ic3dedf51d63e8e897d83e199c94bca8af520b43c --- .../home/room/detail/timeline/item/MessageInformationData.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageInformationData.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageInformationData.kt index 1dbd52c000..b9aa90b277 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageInformationData.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageInformationData.kt @@ -42,7 +42,7 @@ data class MessageInformationData( val readReceipts: List = emptyList(), val referencesInfoData: ReferencesInfoData? = null, val sentByMe : Boolean, - val isDirect: Boolean = false, + val isDirect: Boolean, val e2eDecoration: E2EDecoration = E2EDecoration.NONE ) : Parcelable {