Update live location shares when reaching timeout (before actual stop event)
This commit is contained in:
parent
11866afb03
commit
704ddc9132
17 changed files with 331 additions and 64 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue