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

View file

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