diff options
author | Chris Talbot <chris@talbothome.com> | 2023-04-27 15:45:06 -0400 |
---|---|---|
committer | Teemu Ikonen <tpikonen@mailbox.org> | 2023-05-07 19:08:13 +0000 |
commit | 94d0971484787f3252f746aa39e5341f942103b5 (patch) | |
tree | 1ed62a976e27e2526a52ef0f78c80485707e7038 | |
parent | 41221a1d47584e23a797540f5db1775afc28e438 (diff) | |
download | geoclue-94d0971484787f3252f746aa39e5341f942103b5.tar.gz |
-rw-r--r-- | src/gclue-web-source.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gclue-web-source.c b/src/gclue-web-source.c index bd4b657..92d94b8 100644 --- a/src/gclue-web-source.c +++ b/src/gclue-web-source.c @@ -565,6 +565,8 @@ on_submit_source_location_notify (GObject *source_object, if (location == NULL || gclue_location_get_accuracy (location) > SUBMISSION_ACCURACY_THRESHOLD || + gclue_location_get_accuracy (location) == + GCLUE_LOCATION_ACCURACY_UNKNOWN || gclue_location_get_timestamp (location) < web->priv->last_submitted + SUBMISSION_TIME_THRESHOLD) return; |