mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
allow addition of group members' location that haven't sent their location yet while watching the map view
This commit is contained in:
@@ -61,15 +61,12 @@ public class DataCollector {
|
||||
long startTimestamp,
|
||||
long endTimestamp) {
|
||||
DcArray locations = dcContext.getLocations(chatId, contactId, startTimestamp, endTimestamp);
|
||||
int count = locations.getCnt();
|
||||
if (count == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
MapSource contactMapMetadata = contactMapSources.get(contactId);
|
||||
if (contactMapMetadata == null) {
|
||||
contactMapMetadata = addContactMapSource(contactMapSources, contactId);
|
||||
}
|
||||
int count = locations.getCnt();
|
||||
|
||||
LinkedList<Feature> sortedPointFeatures = featureCollections.get(contactMapMetadata.getMarkerFeatureCollection());
|
||||
if (sortedPointFeatures != null && sortedPointFeatures.size() == count) {
|
||||
|
||||
Reference in New Issue
Block a user