diff --git a/include/diaspora.php b/include/diaspora.php index 187793d2b..b208257c6 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -1008,7 +1008,7 @@ function diaspora_post($importer,$xml,$msg) { return 202; } - if(! is_importable($datarray,$contact)) { + if(! post_is_importable($datarray,$contact)) { logger('diaspora_post: filtering this author.'); return 202; } diff --git a/include/items.php b/include/items.php index 5d85e875e..7ac5591f8 100755 --- a/include/items.php +++ b/include/items.php @@ -3765,7 +3765,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) { $author['owner_avatar'] = $contact['thumb']; } - if(! is_importable($datarray,$contact)) + if(! post_is_importable($datarray,$contact)) continue;