Issue 12753: For remote-self feed items the plink mustn't point to the original feed link

This commit is contained in:
Michael 2023-01-30 06:58:36 +00:00
parent df021b07e3
commit f078b6bc18
1 changed files with 2 additions and 1 deletions

View File

@ -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']);