X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FFeed.php;h=7d778ee582bb2836486147b418d10e291c800b83;hb=ee5acc29c3722de9b48c11fe0d6316a83f43f1de;hp=0abd49c4627e7e234114f152066ee5f103086332;hpb=1d7d6fe35c3a8c32762b7dbd454acbdc6bf7c247;p=friendica.git diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index 0abd49c462..7d778ee582 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -629,8 +629,9 @@ class Feed // Distributed items should have a well-formatted URI. // 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['guid'] = Item::guidFromUri($orig_plink, DI::baseUrl()->getHost()); + $item['uri'] = Item::newURI($item['guid']); + unset($item['plink']); unset($item['thr-parent']); unset($item['parent-uri']);