mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Provide default host value to hash() in Model\Item::guidFromUri
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1338133783
This commit is contained in:
parent
0af2be14ee
commit
fc246424a9
5 changed files with 14 additions and 9 deletions
|
@ -625,8 +625,8 @@ class Feed
|
|||
|
||||
$notify = Item::isRemoteSelf($contact, $item);
|
||||
|
||||
// Distributed items should have a well formatted URI.
|
||||
// Additionally we have to avoid conflicts with identical URI between imported feeds and these items.
|
||||
// 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']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue