의 미러
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
Bugfix: Remote self worked anymore
This commit is contained in:
부모
a102fd83e8
커밋
f92a253946
1개의 변경된 파일과 8개의 추가작업 그리고 0개의 파일을 삭제
|
@ -106,9 +106,17 @@ function feed_import($xml,$importer,&$contact, &$hub) {
|
|||
$header["wall"] = 0;
|
||||
$header["origin"] = 0;
|
||||
$header["gravity"] = GRAVITY_PARENT;
|
||||
$header["private"] = 2;
|
||||
$header["verb"] = ACTIVITY_POST;
|
||||
$header["object-type"] = ACTIVITY_OBJ_NOTE;
|
||||
|
||||
$header["contact-id"] = $contact["id"];
|
||||
|
||||
if(!strlen($contact["notify"])) {
|
||||
// one way feed - no remote comment ability
|
||||
$header["last-child"] = 0;
|
||||
}
|
||||
|
||||
if (!is_object($entries))
|
||||
return;
|
||||
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue