aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinclude/diaspora.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 7295b4261..da55b8fb6 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -1287,6 +1287,12 @@ function diaspora_comment($importer,$xml,$msg) {
// our post, so he/she must be a contact of ours and his/her public key
// should be in $msg['key']
+ if($importer['system']) {
+ // don't relay to the sys channel
+ logger('diaspora_comment: relay to sys channel blocked.');
+ return;
+ }
+
$author_signature = base64_decode($author_signature);
if(! rsa_verify($signed_data,$author_signature,$key,'sha256')) {