diff --git a/src/Model/UserItem.php b/src/Model/UserItem.php index 4572287257..3efab41fda 100644 --- a/src/Model/UserItem.php +++ b/src/Model/UserItem.php @@ -207,12 +207,12 @@ class UserItem */ private static function checkShared(array $item, int $uid) { - // Only sheck on starting posts and reshare ("announce") activities, otherwise return + // Only check on original posts and reshare ("announce") activities, otherwise return if (($item['gravity'] != GRAVITY_PARENT) && ($item['verb'] != Activity::ANNOUNCE)) { return false; } - // Check if the contact had posted or shared something directly + // Check if the contact posted or shared something directly if (DBA::exists('contact', ['id' => $item['contact-id'], 'notify_new_posts' => true])) { return true; }