From 2c7da5d0de29cd7010bd6a34c0b6cfb79fe24466 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 25 Feb 2012 14:22:51 -0800 Subject: scale external images --- mod/item.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/item.php') diff --git a/mod/item.php b/mod/item.php index 3035989f3..9e0768a65 100755 --- a/mod/item.php +++ b/mod/item.php @@ -400,6 +400,8 @@ function item_post(&$a) { $body = preg_replace('/\[\/code\]\s*\[code\]/ism',"\n",$body); + $body = scale_external_images($body,false); + /** * Look for any tags and linkify them */ -- cgit v1.2.3 From 2d5f8b4b485ff16f989f5bbe7a95b2d49e499094 Mon Sep 17 00:00:00 2001 From: "Abinoam P. Marques Jr" Date: Sat, 25 Feb 2012 13:10:33 -0800 Subject: mod/item.php pass 'parent' to notification --- mod/item.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/item.php') diff --git a/mod/item.php b/mod/item.php index 9e0768a65..81d7c753b 100755 --- a/mod/item.php +++ b/mod/item.php @@ -755,7 +755,8 @@ function item_post(&$a) { 'source_link' => $datarray['author-link'], 'source_photo' => $datarray['author-avatar'], 'verb' => ACTIVITY_POST, - 'otype' => 'item' + 'otype' => 'item', + 'parent' => $parent, )); } -- cgit v1.2.3