From 8d8b6b1bf5e08a7599f78ecc98f1ea0bed3b39b6 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 12 Aug 2020 18:18:45 +0200 Subject: [PATCH] Update src/Model/UserItem.php Co-authored-by: Hypolite Petovan --- src/Model/UserItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/UserItem.php b/src/Model/UserItem.php index 11446f6e81..144ad46eb7 100644 --- a/src/Model/UserItem.php +++ b/src/Model/UserItem.php @@ -207,7 +207,7 @@ 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; }