Renaming a variable to be more precise
This commit is contained in:
parent
fc98057042
commit
6c0b7f7b43
@ -91,12 +91,12 @@ class LocationSharingService : VectorService(), LocationTracker.Callback {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private suspend fun sendStartingLiveBeaconInfo(session: Session, roomArgs: RoomArgs) {
|
private suspend fun sendStartingLiveBeaconInfo(session: Session, roomArgs: RoomArgs) {
|
||||||
val beaconEventId = session
|
val updateLiveResult = session
|
||||||
.getRoom(roomArgs.roomId)
|
.getRoom(roomArgs.roomId)
|
||||||
?.locationSharingService()
|
?.locationSharingService()
|
||||||
?.startLiveLocationShare(timeoutMillis = roomArgs.durationMillis)
|
?.startLiveLocationShare(timeoutMillis = roomArgs.durationMillis)
|
||||||
|
|
||||||
beaconEventId
|
updateLiveResult
|
||||||
?.let { result ->
|
?.let { result ->
|
||||||
when (result) {
|
when (result) {
|
||||||
is UpdateLiveLocationShareResult.Success -> {
|
is UpdateLiveLocationShareResult.Success -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user