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

pull/12756/head
Michael 2023-01-30 06:58:36 +00:00
rodzic df021b07e3
commit f078b6bc18
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

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