API: The "friendica-owner" has only to be different from the user on starting posts
This commit is contained in:
parent
d80a09c9e5
commit
1681d18693
|
@ -726,7 +726,11 @@ use \Friendica\Core\Config;
|
|||
($item["deny_gid"] != "") OR
|
||||
$item["private"]);
|
||||
|
||||
if ($item['thr-parent'] == $item['uri']) {
|
||||
$owner_user = api_get_user($a, $item["owner-link"]);
|
||||
} else {
|
||||
$owner_user = $status_user;
|
||||
}
|
||||
|
||||
return (array($status_user, $owner_user));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue