https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cab448
)
API: Fix author of repeated items from Diaspora
author
Michael
<heluecht@pirati.ca>
Fri, 21 Dec 2018 22:55:36 +0000
(22:55 +0000)
committer
Michael
<heluecht@pirati.ca>
Fri, 21 Dec 2018 22:55:36 +0000
(22:55 +0000)
include/api.php
patch
|
blob
|
history
diff --git
a/include/api.php
b/include/api.php
index
6ca47c0
..
77dfb74
100644
(file)
--- a/
include/api.php
+++ b/
include/api.php
@@
-4932,6
+4932,7
@@
function api_share_as_retweet(&$item)
}
$reshared_item["body"] = $shared_body;
+ $reshared_item["author-id"] = Contact::getIdForURL($profile, 0, true);
$reshared_item["author-name"] = $author;
$reshared_item["author-link"] = $profile;
$reshared_item["author-avatar"] = $avatar;