]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Model/UserItem.php
authorMichael Vogel <icarus@dabo.de>
Wed, 12 Aug 2020 16:18:45 +0000 (18:18 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Aug 2020 16:18:45 +0000 (18:18 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Model/UserItem.php

index 11446f6e81c3bd4299c233181060b47c960819ab..144ad46eb7c7dec6dd69d4d5c749784781480426 100644 (file)
@@ -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;
                }