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
1 changed files with 2 additions and 2 deletions

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 -> {