mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Merge pull request #623 from annando/new-item-uri
New function for generating item URIs
This commit is contained in:
commit
6b77771343
5 changed files with 7 additions and 5 deletions
|
@ -806,7 +806,7 @@ function twitter_do_mirrorpost(App $a, $uid, $post)
|
|||
$datarray["api_source"] = true;
|
||||
$datarray["profile_uid"] = $uid;
|
||||
$datarray["extid"] = NETWORK_TWITTER;
|
||||
$datarray['message_id'] = item_new_uri($a->get_hostname(), $uid, NETWORK_TWITTER . ":" . $post->id);
|
||||
$datarray['message_id'] = Item::newURI($uid, NETWORK_TWITTER . ":" . $post->id);
|
||||
$datarray['object'] = json_encode($post);
|
||||
$datarray["title"] = "";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue