From: Michael Date: Mon, 16 Jul 2018 03:56:36 +0000 (+0000) Subject: Fix for missing username in uri for comments to public posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=988a868f902e8d8b82fb30cb243be9ff88b978fa;p=friendica.git Fix for missing username in uri for comments to public posts --- diff --git a/mod/item.php b/mod/item.php index 935b50d030..dbe396e901 100644 --- a/mod/item.php +++ b/mod/item.php @@ -577,7 +577,7 @@ function item_post(App $a) { $notify_type = ($parent ? 'comment-new' : 'wall-new'); - $uri = ($message_id ? $message_id : Item::newURI($profile_uid, $guid)); + $uri = ($message_id ? $message_id : Item::newURI($api_source ? $profile_uid : $uid, $guid)); // Fallback so that we alway have a parent uri if (!$thr_parent_uri || !$parent) {