Renaming a variable to be more precise

This commit is contained in:
Maxime NATUREL 2022-06-15 14:51:28 +02:00
parent fc98057042
commit 6c0b7f7b43

View file

@ -91,12 +91,12 @@ class LocationSharingService : VectorService(), LocationTracker.Callback {
}
private suspend fun sendStartingLiveBeaconInfo(session: Session, roomArgs: RoomArgs) {
val beaconEventId = session
val updateLiveResult = session
.getRoom(roomArgs.roomId)
?.locationSharingService()
?.startLiveLocationShare(timeoutMillis = roomArgs.durationMillis)
beaconEventId
updateLiveResult
?.let { result ->
when (result) {
is UpdateLiveLocationShareResult.Success -> {