aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-12 14:14:20 -0800
committerzotlabs <mike@macgirvin.com>2017-11-12 14:14:20 -0800
commit458f2e748de22448206ce12c9961e9cce80c796d (patch)
tree9b1416de9c2b202bc119c5e1dfcd93e3f8fbd347 /Zotlabs
parent34b38f06e00d929c3004ca7ee961405de0a209e1 (diff)
downloadvolse-hubzilla-458f2e748de22448206ce12c9961e9cce80c796d.tar.gz
volse-hubzilla-458f2e748de22448206ce12c9961e9cce80c796d.tar.bz2
volse-hubzilla-458f2e748de22448206ce12c9961e9cce80c796d.zip
cleanup of upload_to_comments test; we actually don't care about the profile owner. We only care that we're logged in locally and our storage is public by default.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Item.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index b54de0fb9..f2b850ffc 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -577,15 +577,6 @@ class Item extends \Zotlabs\Web\Controller {
* so we'll set the permissions regardless and realise that the media may not be
* referenced in the post.
*
- * What is preventing us from being able to upload photos into comments is dealing with
- * the photo and attachment permissions, since we don't always know who was in the
- * distribution for the top level post.
- *
- * We might be able to provide this functionality with a lot of fiddling:
- * - if the top level post is public (make the photo public)
- * - if the top level post was written by us or a wall post that belongs to us (match the top level post)
- * - if the top level post has privacy mentions, add those to the permissions.
- * - otherwise disallow the photo *or* make the photo public. This is the part that gets messy.
*/
if(! $preview) {