mirror of
https://github.com/vector-im/riotX-android
synced 2025-10-06 00:02:48 +02: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:
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? {
|
||||
|
Reference in New Issue
Block a user