mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 19:38:49 +00:00
Merge pull request #382 from annando/1603-fromgplus-keywords
Google+/Twitter/GNU Social: Prevent posting loops when mirroring posts
This commit is contained in:
commit
24638894a6
5 changed files with 59 additions and 24 deletions
|
@ -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"] = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue