From 5747e20e502cd4504aef4371b30631265579e81c Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 18 Feb 2014 16:59:31 -0800 Subject: some more snakebite and fix up include/account - forgot about that inline array stuff --- mod/item.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mod/item.php') diff --git a/mod/item.php b/mod/item.php index fa7720791..dc005bb20 100644 --- a/mod/item.php +++ b/mod/item.php @@ -453,6 +453,16 @@ function item_post(&$a) { * the post and we should keep it private. If it's encrypted we have no way of knowing * 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) { -- cgit v1.2.3