Fix some warnings on item creation

This commit is contained in:
Michael 2023-01-09 15:55:35 +00:00
parent e6f6087cac
commit cd3dbad2a8
4 changed files with 28 additions and 4 deletions

View file

@ -624,6 +624,7 @@ class Feed
Logger::info('Stored feed', ['item' => $item]);
$notify = Item::isRemoteSelf($contact, $item);
$item['wall'] = (bool)$notify;
// Distributed items should have a well-formatted URI.
// Additionally, we have to avoid conflicts with identical URI between imported feeds and these items.