Live location : format the endsAt timeline item content

This commit is contained in:
ganfra 2026-03-25 19:57:34 +01:00
parent b082f59f9c
commit a7e254cc84
3 changed files with 16 additions and 3 deletions

View file

@ -107,10 +107,13 @@ data class FailedToParseStateContent(
data class LiveLocationContent(
val isLive: Boolean,
val description: String?,
val timestamp: Long,
val timeout: Long,
val assetType: AssetType?,
val locations: List<LiveLocationInfo>,
) : EventContent
) : EventContent {
val endsAt = timestamp + timeout
}
data object LegacyCallInviteContent : EventContent