mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Improved loop detection for Google+, Pump.io, Twitter and GNU Social
This commit is contained in:
parent
ad1afc33d0
commit
584f58e573
5 changed files with 32 additions and 16 deletions
|
@ -606,6 +606,10 @@ function statusnet_post_hook(&$a,&$b) {
|
|||
//$result = $dent->post('statuses/update', $postdata);
|
||||
logger('statusnet_post send, result: ' . print_r($result, true).
|
||||
"\nmessage: ".$msg, LOGGER_DEBUG."\nOriginal post: ".print_r($b, true)."\nPost Data: ".print_r($postdata, true));
|
||||
|
||||
if ($result->source)
|
||||
set_pconfig($b["uid"], "statusnet", "application_name", strip_tags($result->source));
|
||||
|
||||
if ($result->error) {
|
||||
logger('Send to StatusNet failed: "'.$result->error.'"');
|
||||
} elseif ($iscomment) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue