mirror of
https://github.com/friendica/friendica
synced 2024-12-23 06:40:15 +00:00
set parent-uri for top level posts
This commit is contained in:
parent
8e3506048a
commit
a93b6757b1
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ function diaspora_post($importer,$contact,$xml) {
|
|||
$datarray['contact-id'] = $contact['id'];
|
||||
$datarray['wall'] = 0;
|
||||
$datarray['guid'] = $guid;
|
||||
$datarray['uri'] = $message_id;
|
||||
$datarray['uri'] = $datarray['parent-uri'] = $message_id;
|
||||
$dattarray['created'] = $datarray['edited'] = datetime_convert('UTC','UTC',$created);
|
||||
$dattarray['private'] = $private;
|
||||
$dattarray['parent'] = 0;
|
||||
|
|
Loading…
Reference in a new issue