aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-15 19:39:49 -0700
committerFriendika <info@friendika.com>2011-08-15 19:39:49 -0700
commita93b6757b1b48f268db8f6d2f05bc875c91264a0 (patch)
treeef5a7e7a456a9966d6695e81301c947211a87b2d /include
parent8e3506048a3c8bc6fd8fb86fdbf813ff9fb3adc9 (diff)
downloadvolse-hubzilla-a93b6757b1b48f268db8f6d2f05bc875c91264a0.tar.gz
volse-hubzilla-a93b6757b1b48f268db8f6d2f05bc875c91264a0.tar.bz2
volse-hubzilla-a93b6757b1b48f268db8f6d2f05bc875c91264a0.zip
set parent-uri for top level posts
Diffstat (limited to 'include')
-rw-r--r--include/diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index dd0debe69..87626cb63 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;