diff options
author | friendica <info@friendica.com> | 2015-03-11 15:11:57 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-11 15:11:57 -0700 |
commit | 35fc14d6ab286a20bc8c510733c46cbd5f0d9676 (patch) | |
tree | 3e31e9693cf0acf12aa59da4b509425cab717b30 /include | |
parent | 0014cf4ff232328c3e3d0993eb8e9893a7c16f54 (diff) | |
download | volse-hubzilla-35fc14d6ab286a20bc8c510733c46cbd5f0d9676.tar.gz volse-hubzilla-35fc14d6ab286a20bc8c510733c46cbd5f0d9676.tar.bz2 volse-hubzilla-35fc14d6ab286a20bc8c510733c46cbd5f0d9676.zip |
don't relay diaspora comments to sys channel
Diffstat (limited to 'include')
-rwxr-xr-x | include/diaspora.php | 6 |
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')) { |