Merge pull request #12756 from annando/issue-12753
Issue 12753: For remote-self feed items the plink mustn't point to the original feed link
This commit is contained in:
commit
31d01dc684
1 changed files with 2 additions and 1 deletions
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Reference in a new issue