aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-22 18:57:48 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-22 19:02:45 -0700
commitc0e67db070ae562f8e717a12faf5df9ecd7160d6 (patch)
tree59d401819fb12ec5e14257ba3df4851d22aa0b8c /include/items.php
parentc90f14c066d0f289bd2220bb66325db12700aa57 (diff)
downloadvolse-hubzilla-c0e67db070ae562f8e717a12faf5df9ecd7160d6.tar.gz
volse-hubzilla-c0e67db070ae562f8e717a12faf5df9ecd7160d6.tar.bz2
volse-hubzilla-c0e67db070ae562f8e717a12faf5df9ecd7160d6.zip
refresh diaspora xchan every month or so since receiving profile update messages from that network reliably are just as unlikely as receiving any other kind of message from that network reliably. The problem is that if somebody changes their profile name or photo once every few years and you miss it because of their shitty unreliable communications, your data could be stale for a long time.
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index af76fe203..9a2c8d5da 100755
--- a/include/items.php
+++ b/include/items.php
@@ -3766,6 +3766,10 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) {
$author['owner_avatar'] = $contact['thumb'];
}
+ if(! is_importable($datarray,$contact))
+ continue;
+
+
logger('consume_feed: author ' . print_r($author,true),LOGGER_DEBUG);
logger('consume_feed: ' . print_r($datarray,true),LOGGER_DATA);