mirror of
https://github.com/friendica/friendica
synced 2024-12-22 17:20:16 +00:00
Add deleted check to FavouritedBy Mastodon endpoint
This commit is contained in:
parent
c235bf299e
commit
c419aabee4
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class FavouritedBy extends BaseApi
|
|||
DI::mstdnError()->RecordNotFound();
|
||||
}
|
||||
|
||||
$activities = Post::selectPosts(['author-id'], ['thr-parent-id' => $id, 'gravity' => Item::GRAVITY_ACTIVITY, 'verb' => Activity::LIKE]);
|
||||
$activities = Post::selectPosts(['author-id'], ['thr-parent-id' => $id, 'gravity' => Item::GRAVITY_ACTIVITY, 'verb' => Activity::LIKE, 'deleted' => false]);
|
||||
|
||||
$accounts = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue