Update src/Model/UserItem.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
7cdbcf411f
commit
8d8b6b1bf5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user