diff options
author | Friendika <info@friendika.com> | 2011-08-15 19:39:49 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-15 19:39:49 -0700 |
commit | a93b6757b1b48f268db8f6d2f05bc875c91264a0 (patch) | |
tree | ef5a7e7a456a9966d6695e81301c947211a87b2d | |
parent | 8e3506048a3c8bc6fd8fb86fdbf813ff9fb3adc9 (diff) | |
download | volse-hubzilla-a93b6757b1b48f268db8f6d2f05bc875c91264a0.tar.gz volse-hubzilla-a93b6757b1b48f268db8f6d2f05bc875c91264a0.tar.bz2 volse-hubzilla-a93b6757b1b48f268db8f6d2f05bc875c91264a0.zip |
set parent-uri for top level posts
-rw-r--r-- | include/diaspora.php | 2 |
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; |