owntracks / recorder

Store and access data published by OwnTracks apps
Other
907 stars 123 forks source link

issue #313: handle out-of-order location notification #472

Closed patthoyts closed 5 months ago

patthoyts commented 5 months ago

This is a possible solution to issue #313

When receiving a location update check that it is newer than the last update from the same device before updating the 'last' record. This ensures the 'last' record is always the most recent update from the device in the event updates arrive out of order.

jpmens commented 5 months ago

Thank you very much. Merged!