Skip to content

fix(contacts): ignore transitions older than the contact's last location - #2367

Open
oliverkurth wants to merge 1 commit into
owntracks:masterfrom
oliverkurth:topic/okurth/transition-stale-check
Open

oliverkurth wants to merge 1 commit into
owntracks:masterfrom
oliverkurth:topic/okurth/transition-stale-check

Conversation

@oliverkurth

Copy link
Copy Markdown

setLocationFromMessageTransition compared locationAccuracy with the message timestamp instead of locationTimestamp, so the check never fired. A transition arriving after a newer location moved the contact back to the older position and time until the next location update.

setLocationFromMessageTransition compared locationAccuracy with the
message timestamp instead of locationTimestamp, so the check never
fired. A transition arriving after a newer location moved the contact
back to the older position and time until the next location update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant