Update live location shares when reaching timeout (before actual stop event)

This commit is contained in:
ganfra 2026-04-15 22:06:00 +02:00
parent 11866afb03
commit 704ddc9132
17 changed files with 331 additions and 64 deletions

View file

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