fixed a few feed problems affecting activity objects/targets
This commit is contained in:
parent
b857a49bfe
commit
7c60701efc
4 changed files with 37 additions and 13 deletions
|
@ -908,7 +908,7 @@ function fb_consume_stream($uid,$j,$wall = false) {
|
|||
|
||||
$likedata['body'] = sprintf( t('%1$s likes %2$s\'s %3$s'), $author, $objauthor, $plink);
|
||||
$likedata['object'] = '<object><type>' . ACTIVITY_OBJ_NOTE . '</type><local>1</local>' .
|
||||
'<id>' . $orig_post['uri'] . '</id><link>' . xmlify('<link rel="alternate" type="text/html" href="' . $orig_post['plink'] . '">') . '</link><title>' . $orig_post['title'] . '</title><content>' . $orig_post['body'] . '</content></object>';
|
||||
'<id>' . $orig_post['uri'] . '</id><link>' . xmlify('<link rel="alternate" type="text/html" href="' . xmlify($orig_post['plink']) . '" />') . '</link><title>' . $orig_post['title'] . '</title><content>' . $orig_post['body'] . '</content></object>';
|
||||
|
||||
$item = item_store($likedata);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue