]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
Merge pull request #5232 from annando/no-author-link
[friendica.git] / mod / item.php
index 823350874b0f422c28aff708eb39917b31565790..f164fb0ae2c6f4347225dd08ab112cdcd66ee1b4 100644 (file)
@@ -576,7 +576,7 @@ function item_post(App $a) {
 
        $notify_type = ($parent ? 'comment-new' : 'wall-new');
 
-       $uri = ($message_id ? $message_id : item_new_uri($a->get_hostname(), $profile_uid, $guid));
+       $uri = ($message_id ? $message_id : Item::newURI($profile_uid, $guid));
 
        // Fallback so that we alway have a parent uri
        if (!$thr_parent_uri || !$parent) {