|
|
@ -185,7 +185,7 @@ export default class AppPeopleNearby extends SliderSuperTab { |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
dom.lastMessageSpan.append(', '+i18n('Members', [participantsCount])); |
|
|
|
dom.lastMessageSpan.append(', ', i18n('Members', [participantsCount])); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -234,7 +234,7 @@ export default class AppPeopleNearby extends SliderSuperTab { |
|
|
|
const distanceCheck = this.calculateDistance( |
|
|
|
const distanceCheck = this.calculateDistance( |
|
|
|
result.coords.latitude, result.coords.longitude, |
|
|
|
result.coords.latitude, result.coords.longitude, |
|
|
|
this.latestLocationSaved.latitude, this.latestLocationSaved.longitude |
|
|
|
this.latestLocationSaved.latitude, this.latestLocationSaved.longitude |
|
|
|
); |
|
|
|
) > 100; |
|
|
|
if((isLatitudeDifferent || isLongitudeDifferent) && distanceCheck){ |
|
|
|
if((isLatitudeDifferent || isLongitudeDifferent) && distanceCheck){ |
|
|
|
appUsersManager.getLocated( |
|
|
|
appUsersManager.getLocated( |
|
|
|
result.coords.latitude, |
|
|
|
result.coords.latitude, |