Update src/Model/UserItem.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2020-08-12 18:18:45 +02:00 committed by GitHub
parent 7cdbcf411f
commit 8d8b6b1bf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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;
}