]> git.mxchange.org Git - friendica-addons.git/commitdiff
fb: don't show obnoxious long links
authorfriendica <info@friendica.com>
Sun, 4 Dec 2011 21:51:38 +0000 (13:51 -0800)
committerfriendica <info@friendica.com>
Sun, 4 Dec 2011 21:51:38 +0000 (13:51 -0800)
facebook.tgz
facebook/facebook.php

index 2eeb5f4f91036a0de5dd05c3f264f9ffdcd96633..174a2890c4d25e45ba40793a2d800eb582f14d9b 100644 (file)
Binary files a/facebook.tgz and b/facebook.tgz differ
index 268f79b16341ec92860a15ec2df7435c5fc85cd2..db3382fc2b1a145566107ee5f096150cae44f422 100644 (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)