mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-03 12:37:31 +01:00
Merge pull request #6579 from vector-im/feature/ons/fix_remove_live_location_logs
Do not log the live location of the user (PSG-63)
This commit is contained in:
commit
8b6e4dd4d4
1
changelog.d/6579.bugfix
Normal file
1
changelog.d/6579.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Do not log the live location of the user
|
@ -36,7 +36,6 @@ import im.vector.app.features.location.toLocationData
|
||||
import org.matrix.android.sdk.api.session.Session
|
||||
import org.matrix.android.sdk.api.session.room.timeline.TimelineEvent
|
||||
import org.threeten.bp.LocalDateTime
|
||||
import timber.log.Timber
|
||||
import javax.inject.Inject
|
||||
|
||||
class LiveLocationShareMessageItemFactory @Inject constructor(
|
||||
@ -135,7 +134,7 @@ class LiveLocationShareMessageItemFactory @Inject constructor(
|
||||
liveLocationShareSummaryData.lastGeoUri.orEmpty(),
|
||||
getEndOfLiveDateTime(liveLocationShareSummaryData)
|
||||
)
|
||||
}.also { viewState -> Timber.d("computed viewState: $viewState") }
|
||||
}
|
||||
}
|
||||
|
||||
private fun getEndOfLiveDateTime(liveLocationShareSummaryData: LiveLocationShareSummaryData): LocalDateTime? {
|
||||
|
Loading…
x
Reference in New Issue
Block a user