mirror of
https://github.com/friendica/friendica
synced 2024-11-18 23:43:40 +00:00
[API] Ensures user_show includes a status the user actually authored
This commit is contained in:
parent
f225752f8a
commit
661aca0f88
1 changed files with 1 additions and 1 deletions
|
@ -1271,7 +1271,7 @@ function api_status_show($type, $item_id)
|
|||
function api_get_last_status($ownerId, $uid)
|
||||
{
|
||||
$condition = [
|
||||
'owner-id' => $ownerId,
|
||||
'author-id'=> $ownerId,
|
||||
'uid' => $uid,
|
||||
'gravity' => [GRAVITY_PARENT, GRAVITY_COMMENT],
|
||||
'private' => false
|
||||
|
|
Loading…
Reference in a new issue