mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 11:28:49 +00:00
New function for generating item URIs
This commit is contained in:
parent
49558d7d22
commit
e1714de8ad
5 changed files with 7 additions and 5 deletions
|
@ -945,7 +945,7 @@ function pumpio_dolike(&$a, $uid, $self, $post, $own_id, $threadcompletion = tru
|
|||
$likedata['gravity'] = 3;
|
||||
$likedata['uid'] = $uid;
|
||||
$likedata['wall'] = 0;
|
||||
$likedata['uri'] = item_new_uri($a->get_baseurl(), $uid);
|
||||
$likedata['uri'] = Item::newURI($uid);
|
||||
$likedata['parent-uri'] = $orig_post["uri"];
|
||||
$likedata['contact-id'] = $contactid;
|
||||
$likedata['app'] = $post->generator->displayName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue