Fix schedule until online when the recipient is already online

This commit is contained in:
Ilya Laktyushin
2019-11-28 14:38:37 +04:00
parent e78c7460ea
commit d7006fdf3d
5 changed files with 23 additions and 8 deletions

View File

@@ -416,7 +416,7 @@ final class LocationPickerControllerNode: ViewControllerTracingNode {
if let personalVenues = personalVenues {
for venue in personalVenues {
let venueLocation = CLLocation(latitude: venue.latitude, longitude: venue.longitude)
if venueLocation.distance(from: location) < 500 {
if venueLocation.distance(from: location) <= 1000 {
resultVenues.append(venue)
}
}