From f078b6bc18188c45254f2f1c2f8c22bdbd9f4070 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 30 Jan 2023 06:58:36 +0000 Subject: [PATCH] Issue 12753: For remote-self feed items the plink mustn't point to the original feed link --- src/Protocol/Feed.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']);