From a93b6757b1b48f268db8f6d2f05bc875c91264a0 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 15 Aug 2011 19:39:49 -0700 Subject: [PATCH] set parent-uri for top level posts --- include/diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/diaspora.php b/include/diaspora.php index dd0debe69a..87626cb63d 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -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;