From c357fddea7eb05166fd12eb283e15773fb1b8551 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 29 Sep 2012 06:04:01 -0700 Subject: [PATCH] photo "conversation streams" need work - quite a bit of it --- mod/photos.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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)) {