Merge pull request #382 from annando/1603-fromgplus-keywords

Google+/Twitter/GNU Social: Prevent posting loops when mirroring posts
This commit is contained in:
Tobias Diekershoff 2016-11-12 18:56:41 +01:00 committed by GitHub
commit 24638894a6
5 changed files with 59 additions and 24 deletions

View file

@ -791,6 +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;
//$_REQUEST["date"] = $post->created_at;
$_REQUEST["title"] = "";