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:
Philipp 2023-01-30 08:32:21 +01:00 committed by GitHub
commit 31d01dc684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -631,6 +631,7 @@ class Feed
if ($notify) {
$item['guid'] = Item::guidFromUri($orig_plink, DI::baseUrl()->getHostname());
$item['uri'] = Item::newURI($item['guid']);
unset($item['plink']);
unset($item['thr-parent']);
unset($item['parent-uri']);