X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FItem.php;h=5cc72b05800bc15ebc60a92effb08baf3c553b8e;hb=a4b0ab90b1ac32f7cdb875387f511c980dbed9ce;hp=beb7db5764773a41f2909bead2446d8e644a5f1d;hpb=56ee1a211f7eae43833d9f9484c1bac889a2800c;p=friendica.git diff --git a/src/Model/Item.php b/src/Model/Item.php index beb7db5764..5cc72b0580 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1160,8 +1160,6 @@ class Item Post\UserNotification::setNotification($posted_item['uri-id'], $posted_item['uid']); - check_user_notification($posted_item['uri-id'], $posted_item['uid']); - // Distribute items to users who subscribed to their tags self::distributeByTags($posted_item); @@ -2757,6 +2755,8 @@ class Item $filter_reasons[] = DI::l10n()->t('Content warning: %s', $item['content-warning']); } + $item['attachments'] = $attachments; + $hook_data = [ 'item' => $item, 'filter_reasons' => $filter_reasons