From 071340c868a83b141d4ad80d29700791b373b895 Mon Sep 17 00:00:00 2001 From: Maxime NATUREL Date: Wed, 13 Apr 2022 10:39:13 +0200 Subject: [PATCH] Remove non necessary comment + adding a TODO for missing aggregation check --- .../livelocation/DefaultLiveLocationAggregationProcessor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/aggregation/livelocation/DefaultLiveLocationAggregationProcessor.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/aggregation/livelocation/DefaultLiveLocationAggregationProcessor.kt index 9e50d16911..95e196c762 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/aggregation/livelocation/DefaultLiveLocationAggregationProcessor.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/aggregation/livelocation/DefaultLiveLocationAggregationProcessor.kt @@ -41,6 +41,7 @@ internal class DefaultLiveLocationAggregationProcessor @Inject constructor() : L } // A beacon info state event has to be sent before sending location + // TODO handle missing check of m_relatesTo field var beaconInfoEntity: CurrentStateEventEntity? = null val eventTypesIterator = EventType.STATE_ROOM_BEACON_INFO.iterator() while (beaconInfoEntity == null && eventTypesIterator.hasNext()) { @@ -68,7 +69,6 @@ internal class DefaultLiveLocationAggregationProcessor @Inject constructor() : L Timber.v("## LIVE LOCATION. Beacon info has timeout") beaconInfoContent.hasTimedOut = true } else { - // Update last location info of the beacon state event beaconInfoContent.lastLocationContent = content }