mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:05:28 +00:00
Update live location shares when reaching timeout (before actual stop event)
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user