]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
Merge pull request #67 from tomtom84/master
[friendica.git] / mod / item.php
index 3035989f36ef8c36dc8ba1108c541ddd4af75085..81d7c753b42484e1fe787b3829803a9159d2449d 100755 (executable)
@@ -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
         */
@@ -753,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,
                                ));
                        
                        }