]> git.mxchange.org Git - friendica.git/commitdiff
Issue 6167: Don't distribute uploaded pictures
authorMichael <heluecht@pirati.ca>
Fri, 15 Mar 2019 06:05:52 +0000 (06:05 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 15 Mar 2019 06:05:52 +0000 (06:05 +0000)
src/Worker/Notifier.php

index baae33f7e0f3d8f2015e7756e582957005a00660..58460329b4754b7d23f1d993a1fa6e4b6f055ade 100644 (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'])) {