From: Michael Date: Mon, 30 Jan 2023 06:58:36 +0000 (+0000) Subject: Issue 12753: For remote-self feed items the plink mustn't point to the original feed... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f078b6bc18188c45254f2f1c2f8c22bdbd9f4070;p=friendica.git Issue 12753: For remote-self feed items the plink mustn't point to the original feed link --- diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index 0abd49c462..f7bc282c1e 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -630,7 +630,8 @@ class Feed // Additionally, we have to avoid conflicts with identical URI between imported feeds and these items. if ($notify) { $item['guid'] = Item::guidFromUri($orig_plink, DI::baseUrl()->getHostname()); - $item['uri'] = Item::newURI($item['guid']); + $item['uri'] = Item::newURI($item['guid']); + unset($item['plink']); unset($item['thr-parent']); unset($item['parent-uri']);