rework the liveupdate fixes - what a mess

This commit is contained in:
friendica 2011-11-24 18:26:06 -08:00
parent 757ca5014c
commit 4b95e8ebe8
2 changed files with 29 additions and 13 deletions

View file

@ -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'] = "";
}