mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
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
|
||||
// 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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue