From 4b95e8ebe8719827566b484810dfe140f7b51726 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 24 Nov 2011 18:26:06 -0800 Subject: rework the liveupdate fixes - what a mess --- include/conversation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/conversation.php b/include/conversation.php index f7c8d5168..20baf7dc5 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -291,7 +291,7 @@ function conversation(&$a, $items, $mode, $update) { $arr = array('item' => $item, 'output' => $tmp_item); call_hooks('display_item', $arr); - $threads[$threadsid]['id'] = $threadsid; + $threads[$threadsid]['id'] = $arr[$item['item_id']]; $threads[$threadsid]['html'] .= $arr['output']; } @@ -375,7 +375,7 @@ function conversation(&$a, $items, $mode, $update) { $comments_collapsed = false; $threadsid++; - $threads[$threadsid]['id'] = $threadsid; + $threads[$threadsid]['id'] = $item['item_id']; $threads[$threadsid]['html'] = ""; } -- cgit v1.2.3