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 b8750d8317..953eace101 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 @@ -22,7 +22,7 @@ import io.realm.annotations.PrimaryKey /** * Aggregation info concerning a live location share. */ -class LiveLocationAggregatedSummaryEntity( +internal open class LiveLocationAggregatedSummaryEntity( /** * Event id of the event that started the live. */ @@ -34,4 +34,6 @@ class LiveLocationAggregatedSummaryEntity( val endOfLiveTimestampAsMilliseconds: Long? = null, val lastLocation: String? = null -) : RealmObject() +) : RealmObject() { + companion object +}