From 988a868f902e8d8b82fb30cb243be9ff88b978fa Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 16 Jul 2018 03:56:36 +0000 Subject: [PATCH] Fix for missing username in uri for comments to public posts --- mod/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5