New function for generating item URIs

This commit is contained in:
Michael 2018-06-16 06:46:25 +00:00
parent 49558d7d22
commit e1714de8ad
5 changed files with 7 additions and 5 deletions

View file

@ -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;