owntracks / recorder

Store and access data published by OwnTracks apps
Other
821 stars 120 forks source link

Don't check fences when user submits a waypoint #460

Closed nickswalker closed 3 months ago

nickswalker commented 3 months ago

The coordinates of this waypoint may or may not be a user's current location. The code treats them as a fresh location however, and if this fresh location causes a boundary transition, the fence check will fire the lua hook with a transition event.

This extra condition check ensures that the waypoint isn't treated as the user's location.

jpmens commented 3 months ago

Merged, thank you!