aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Activity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 3e0b067d9..4f63b31da 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -1531,7 +1531,7 @@ class Activity {
return;
}
- static function actor_store($url, $person_obj) {
+ static function actor_store($url, $person_obj, $force = false) {
if (!is_array($person_obj)) {
return;
@@ -1641,7 +1641,7 @@ class Activity {
// Record exists. Cache existing records for one week at most
// then refetch to catch updated profile photos, names, etc.
$d = datetime_convert('UTC', 'UTC', 'now - 3 days');
- if($r[0]['hubloc_updated'] > $d) {
+ if($r[0]['hubloc_updated'] > $d && !$force) {
return;
}