fb: don't show obnoxious long links

This commit is contained in:
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)
$datarray['body'] .= "\n\n" . '[img]' . $entry->picture . '[/img]';
if($entry->link)
$datarray['body'] .= "\n" . linkify($entry->link);
$datarray['body'] .= "\n" . '[url=' . $entry->link . ']' . t('link') . '[/url]';
if($entry->name)
$datarray['body'] .= "\n" . $entry->name;
if($entry->caption)