Merge pull request #6885 from annando/issue-6167

Issue 6167: Don't distribute uploaded pictures
This commit is contained in:
Tobias Diekershoff 2019-03-15 07:33:34 +01:00 committed by GitHub
commit 542e363a49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,6 +99,11 @@ class Notifier
return;
}
// Issue 6167: We don't distribute image uploads
if ($target_item['post-type'] == Item::PT_IMAGE) {
return;
}
if (!empty($target_item['contact-uid'])) {
$uid = $target_item['contact-uid'];
} elseif (!empty($target_item['uid'])) {