aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-29 17:04:17 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-29 17:04:17 -0700
commit845024e1e761f7b62df7031b738d77d46957ad74 (patch)
tree40f33ccda06600683660073827f7813a97ee548f /include/items.php
parente3f605e242ed1bcb2da6a8ddf4bad1670583953a (diff)
downloadvolse-hubzilla-845024e1e761f7b62df7031b738d77d46957ad74.tar.gz
volse-hubzilla-845024e1e761f7b62df7031b738d77d46957ad74.tar.bz2
volse-hubzilla-845024e1e761f7b62df7031b738d77d46957ad74.zip
add connection filter to non-zot posts
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index f0b7d6a7f..c807c1d5d 100755
--- a/include/items.php
+++ b/include/items.php
@@ -3762,6 +3762,9 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) {
$author['owner_avatar'] = $contact['thumb'];
}
+ if(! post_is_importable($datarray,$contact))
+ continue;
+
logger('consume_feed: author ' . print_r($author,true),LOGGER_DEBUG);
logger('consume_feed: ' . print_r($datarray,true),LOGGER_DATA);