fb: don't show obnoxious long links

pull/2/head
friendica 2011-12-04 13:51:38 -08:00
parent 9f7b338323
commit e5f3e1f540
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -931,7 +931,7 @@ function fb_consume_stream($uid,$j,$wall = false) {
if($entry->picture) if($entry->picture)
$datarray['body'] .= "\n\n" . '[img]' . $entry->picture . '[/img]'; $datarray['body'] .= "\n\n" . '[img]' . $entry->picture . '[/img]';
if($entry->link) if($entry->link)
$datarray['body'] .= "\n" . linkify($entry->link); $datarray['body'] .= "\n" . '[url=' . $entry->link . ']' . t('link') . '[/url]';
if($entry->name) if($entry->name)
$datarray['body'] .= "\n" . $entry->name; $datarray['body'] .= "\n" . $entry->name;
if($entry->caption) if($entry->caption)