mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 17:03:16 +00:00
fb: don't show obnoxious long links
This commit is contained in:
parent
9f7b338323
commit
e5f3e1f540
2 changed files with 1 additions and 1 deletions
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue