The URI of mirrored posts are now looking more standard

This commit is contained in:
Michael 2016-11-15 06:36:52 +00:00
parent 5fb7ef40fd
commit b59c0e54a8
4 changed files with 14 additions and 7 deletions

View file

@ -872,8 +872,9 @@ function statusnet_fetchtimeline($a, $uid) {
$_REQUEST["source"] = $post->source;
$_REQUEST["extid"] = NETWORK_STATUSNET;
if (isset($post->id))
$_REQUEST['message_id'] = NETWORK_STATUSNET.":".$post->id;
if (isset($post->id)) {
$_REQUEST['message_id'] = item_new_uri($a->get_hostname(), $uid, NETWORK_STATUSNET.":".$post->id);
}
//$_REQUEST["date"] = $post->created_at;