]> git.mxchange.org Git - friendica.git/commitdiff
Adding some more data to Diaspora reshares
authorMichael Vogel <icarus@dabo.de>
Sat, 7 Mar 2015 20:09:32 +0000 (21:09 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 7 Mar 2015 20:09:32 +0000 (21:09 +0100)
include/diaspora.php

index 2c19cd4c48c2ab7f24cb580187fdf5452a828cdc..1202a3a5521bbc54fae0d0749020deaaac9012a0 100755 (executable)
@@ -1167,6 +1167,8 @@ function diaspora_reshare($importer,$xml,$msg) {
                $prefix = "[share author='".str_replace(array("'", "[", "]"), array("&#x27;", "&#x5B;", "&#x5D;"),$person['name']).
                                "' profile='".$person['url'].
                                "' avatar='".((x($person,'thumb')) ? $person['thumb'] : $person['photo']).
+                               "' guid='".$orig_guid.
+                               "' posted='".$orig_created.
                                "' link='".str_replace(array("'", "[", "]"), array("&#x27;", "&#x5B;", "&#x5D;"),$orig_url)."']";
                $datarray['author-name'] = $contact['name'];
                $datarray['author-link'] = $contact['url'];