From 80c2c5479a06cf0310ef4c4eed23666727b5b2b4 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 15 Mar 2019 06:05:52 +0000 Subject: [PATCH] Issue 6167: Don't distribute uploaded pictures --- src/Worker/Notifier.php | 5 +++++ 1 file changed, 5 insertions(+) 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'])) { -- 2.39.5