aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-24 18:26:06 -0800
committerfriendica <info@friendica.com>2011-11-24 18:26:06 -0800
commit4b95e8ebe8719827566b484810dfe140f7b51726 (patch)
treeb25c15cc4422e2d47635e671113763c1bcdabaa1 /include/conversation.php
parent757ca5014cc6329b53d5a8f6e6b7a1a19952f0f2 (diff)
downloadvolse-hubzilla-4b95e8ebe8719827566b484810dfe140f7b51726.tar.gz
volse-hubzilla-4b95e8ebe8719827566b484810dfe140f7b51726.tar.bz2
volse-hubzilla-4b95e8ebe8719827566b484810dfe140f7b51726.zip
rework the liveupdate fixes - what a mess
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php4
1 files changed, 2 insertions, 2 deletions
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'] = "";
}