aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/diaspora.php')
-rwxr-xr-xinclude/diaspora.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 79d3909ca..74a56dd79 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -1009,6 +1009,11 @@ function diaspora_post($importer,$xml,$msg) {
return 202;
}
+ if(! post_is_importable($datarray,$contact)) {
+ logger('diaspora_post: filtering this author.');
+ return 202;
+ }
+
$result = item_store($datarray);
return;