From: friendica Date: Sat, 29 Sep 2012 13:04:01 +0000 (-0700) Subject: photo "conversation streams" need work - quite a bit of it X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c357fddea7eb05166fd12eb283e15773fb1b8551;p=friendica.git photo "conversation streams" need work - quite a bit of it --- diff --git a/mod/photos.php b/mod/photos.php index 8d13f859a8..c18fd3fea9 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1250,6 +1250,12 @@ function photos_content(&$a) { // Do we have an item for this photo? + // FIXME! - replace following code to display the conversation with our normal + // conversation functions so that it works correctly and tracks changes + // in the evolving conversation code. + // The difference is that we won't be displaying the conversation head item + // as a "post" but displaying instead the photo it is linked to + $linked_items = q("SELECT * FROM `item` WHERE `resource-id` = '%s' $sql_extra LIMIT 1", dbesc($datum) ); @@ -1390,6 +1396,8 @@ function photos_content(&$a) { $like = ''; $dislike = ''; + + // display comments if(count($r)) {