Remove non necessary comment + adding a TODO for missing aggregation check
This commit is contained in:
parent
4c07405220
commit
071340c868
1 changed files with 1 additions and 1 deletions
|
@ -41,6 +41,7 @@ internal class DefaultLiveLocationAggregationProcessor @Inject constructor() : L
|
||||||
}
|
}
|
||||||
|
|
||||||
// A beacon info state event has to be sent before sending location
|
// A beacon info state event has to be sent before sending location
|
||||||
|
// TODO handle missing check of m_relatesTo field
|
||||||
var beaconInfoEntity: CurrentStateEventEntity? = null
|
var beaconInfoEntity: CurrentStateEventEntity? = null
|
||||||
val eventTypesIterator = EventType.STATE_ROOM_BEACON_INFO.iterator()
|
val eventTypesIterator = EventType.STATE_ROOM_BEACON_INFO.iterator()
|
||||||
while (beaconInfoEntity == null && eventTypesIterator.hasNext()) {
|
while (beaconInfoEntity == null && eventTypesIterator.hasNext()) {
|
||||||
|
@ -68,7 +69,6 @@ internal class DefaultLiveLocationAggregationProcessor @Inject constructor() : L
|
||||||
Timber.v("## LIVE LOCATION. Beacon info has timeout")
|
Timber.v("## LIVE LOCATION. Beacon info has timeout")
|
||||||
beaconInfoContent.hasTimedOut = true
|
beaconInfoContent.hasTimedOut = true
|
||||||
} else {
|
} else {
|
||||||
// Update last location info of the beacon state event
|
|
||||||
beaconInfoContent.lastLocationContent = content
|
beaconInfoContent.lastLocationContent = content
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue