mirror of
https://github.com/friendica/friendica
synced 2024-11-10 09:42:54 +00:00
remote_self feeds are not private
This commit is contained in:
parent
a3edbf7e5d
commit
1830ecc9ba
1 changed files with 5 additions and 1 deletions
|
@ -1895,8 +1895,12 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0)
|
|||
// This is my contact on another system, but it's really me.
|
||||
// Turn this into a wall post.
|
||||
|
||||
if($contact['remote_self'])
|
||||
if($contact['remote_self']) {
|
||||
$datarray['wall'] = 1;
|
||||
if($contact['network'] === NETWORK_FEED) {
|
||||
$datarray['private'] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
$datarray['parent-uri'] = $item_id;
|
||||
$datarray['uid'] = $importer['uid'];
|
||||
|
|
Loading…
Reference in a new issue