From: Michael Date: Fri, 15 Mar 2019 06:05:52 +0000 (+0000) Subject: Issue 6167: Don't distribute uploaded pictures X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=80c2c5479a06cf0310ef4c4eed23666727b5b2b4;p=friendica.git Issue 6167: Don't distribute uploaded pictures --- diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index baae33f7e0..58460329b4 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -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'])) {