diff options
author | friendica <info@friendica.com> | 2014-05-06 19:17:06 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-06 19:17:06 -0700 |
commit | f1eafbf47dfd41ef1977736aad156fa6e7c5a964 (patch) | |
tree | d621c431986e333801ef3bc7d4d2cfff4884062d | |
parent | cc68e06deee9a7fd5f62bfa0b26fc8b686ffa22c (diff) | |
download | volse-hubzilla-f1eafbf47dfd41ef1977736aad156fa6e7c5a964.tar.gz volse-hubzilla-f1eafbf47dfd41ef1977736aad156fa6e7c5a964.tar.bz2 volse-hubzilla-f1eafbf47dfd41ef1977736aad156fa6e7c5a964.zip |
core fixes to allow statusnet connector to work
-rw-r--r-- | mod/item.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/item.php b/mod/item.php index d1952c60e..164b345f0 100644 --- a/mod/item.php +++ b/mod/item.php @@ -643,11 +643,11 @@ function item_post(&$a) { $datarray['owner_xchan'] = (($owner_hash) ? $owner_hash : $owner_xchan['xchan_hash']); $datarray['author_xchan'] = $observer['xchan_hash']; $datarray['created'] = $created; - $datarray['edited'] = datetime_convert(); + $datarray['edited'] = (($orig_post) ? datetime_convert() : $created); $datarray['expires'] = $expires; - $datarray['commented'] = datetime_convert(); - $datarray['received'] = datetime_convert(); - $datarray['changed'] = datetime_convert(); + $datarray['commented'] = (($orig_post) ? datetime_convert() : $created); + $datarray['received'] = (($orig_post) ? datetime_convert() : $created); + $datarray['changed'] = (($orig_post) ? datetime_convert() : $created); $datarray['mid'] = $mid; $datarray['parent_mid'] = $parent_mid; $datarray['mimetype'] = $mimetype; |