mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +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
|
@ -853,7 +853,7 @@ function statusnet_fetchtimeline(App $a, $uid)
|
|||
$_REQUEST["extid"] = NETWORK_STATUSNET;
|
||||
|
||||
if (isset($post->id)) {
|
||||
$_REQUEST['message_id'] = item_new_uri($a->get_hostname(), $uid, NETWORK_STATUSNET . ":" . $post->id);
|
||||
$_REQUEST['message_id'] = Item::newURI($uid, NETWORK_STATUSNET . ":" . $post->id);
|
||||
}
|
||||
|
||||
//$_REQUEST["date"] = $post->created_at;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue