mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:50:20 +00:00
Merge remote-tracking branch 'upstream/develop' into loop-prevention
This commit is contained in:
commit
22c1873064
4 changed files with 15 additions and 6 deletions
|
@ -226,7 +226,7 @@ class Processor
|
|||
*/
|
||||
public static function updateItem(array $activity)
|
||||
{
|
||||
$item = Post::selectFirst(['uri', 'uri-id', 'thr-parent', 'gravity', 'post-type'], ['uri' => $activity['id']]);
|
||||
$item = Post::selectFirst(['uri', 'uri-id', 'thr-parent', 'gravity', 'post-type', 'private'], ['uri' => $activity['id']]);
|
||||
if (!DBA::isResult($item)) {
|
||||
Logger::warning('No existing item, item will be created', ['uri' => $activity['id']]);
|
||||
$item = self::createItem($activity, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue