1
0
Fork 0

set parent-uri for top level posts

This commit is contained in:
Friendika 2011-08-15 19:39:49 -07:00
parent 8e3506048a
commit a93b6757b1

View file

@ -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;