Merge pull request #7420 from annando/reshare-contact

Fix contact issues with fake reshares from Twitter
This commit is contained in:
Hypolite Petovan
2019-07-23 05:05:44 -04:00
committed by GitHub
3 changed files with 45 additions and 4 deletions

View File

@@ -1419,7 +1419,7 @@ class Contact extends BaseObject
// When we don't want to update, we look if we know this contact in any way
$data = self::getProbeDataFromDatabase($url, $contact_id);
$background_update = true;
} elseif ($no_update && !empty($default)) {
} elseif ($no_update && !empty($default['network'])) {
// If there are default values, take these
$data = $default;
$background_update = false;