From 25ca50c7bd28640a75e9deb581cf83c3ca856629 Mon Sep 17 00:00:00 2001 From: Maxime NATUREL Date: Thu, 28 Apr 2022 11:58:40 +0200 Subject: [PATCH] Fix final members in Entity --- .../livelocation/LiveLocationAggregatedSummaryEntity.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/model/livelocation/LiveLocationAggregatedSummaryEntity.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/model/livelocation/LiveLocationAggregatedSummaryEntity.kt index 953eace101..e04d44a27b 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/model/livelocation/LiveLocationAggregatedSummaryEntity.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/model/livelocation/LiveLocationAggregatedSummaryEntity.kt @@ -26,14 +26,15 @@ internal open class LiveLocationAggregatedSummaryEntity( /** * Event id of the event that started the live. */ - @PrimaryKey var eventId: String = "", + var roomId: String = "", + var isLive: Boolean? = null, - val endOfLiveTimestampAsMilliseconds: Long? = null, + var endOfLiveTimestampAsMilliseconds: Long? = null, - val lastLocation: String? = null + var lastLocation: String? = null ) : RealmObject() { companion object }