의 미러
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
API: The "friendica-owner" has only to be different from the user on starting posts
This commit is contained in:
부모
d80a09c9e5
커밋
1681d18693
1개의 변경된 파일과 5개의 추가작업 그리고 1개의 파일을 삭제
|
@ -726,7 +726,11 @@ use \Friendica\Core\Config;
|
|||
($item["deny_gid"] != "") OR
|
||||
$item["private"]);
|
||||
|
||||
$owner_user = api_get_user($a, $item["owner-link"]);
|
||||
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));
|
||||
}
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue