[locations] Dramatically simplify checking for mvement

This commit is contained in:
2024-03-12 17:53:09 -04:00
parent 0cd95036da
commit 874d9dc7d2
3 changed files with 13 additions and 40 deletions

View File

@ -932,7 +932,7 @@ class Scrobble(TimeStampedModel):
)
return scrobble
has_moved = location.has_moved_for_user(scrobble.user.id)
has_moved = location.has_moved(scrobble.media_obj)
logger.info(
f"[scrobbling] checking - has last location has moved?",
extra={