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

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