mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Renaming a variable to be more precise
This commit is contained in:
parent
fc98057042
commit
6c0b7f7b43
1 changed files with 2 additions and 2 deletions
|
@ -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 -> {
|
||||
|
|
Loading…
Reference in a new issue