testing retractions
This commit is contained in:
parent
0739ae315b
commit
99681e33af
|
@ -513,7 +513,7 @@ function notifier_run($argv, $argc){
|
||||||
// unsupported
|
// unsupported
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
elseif($target_item['deleted'] && (! $parent_item['verb'] === ACTIVITY_LIKE)) {
|
elseif($target_item['deleted'] && (! $target_item['verb'] === ACTIVITY_LIKE)) {
|
||||||
// diaspora delete,
|
// diaspora delete,
|
||||||
diaspora_send_retraction($target_item,$owner,$contact);
|
diaspora_send_retraction($target_item,$owner,$contact);
|
||||||
break;
|
break;
|
||||||
|
@ -628,7 +628,7 @@ function notifier_run($argv, $argc){
|
||||||
require_once('include/diaspora.php');
|
require_once('include/diaspora.php');
|
||||||
if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode))
|
if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if(! $contact['pubkey'])
|
if(! $contact['pubkey'])
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -636,7 +636,7 @@ function notifier_run($argv, $argc){
|
||||||
// unsupported
|
// unsupported
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
elseif($target_item['deleted'] && (! $parent_item['verb'] === ACTIVITY_LIKE)) {
|
elseif($target_item['deleted'] && (! $target_item['verb'] === ACTIVITY_LIKE)) {
|
||||||
// diaspora delete,
|
// diaspora delete,
|
||||||
diaspora_send_retraction($target_item,$owner,$n[0]);
|
diaspora_send_retraction($target_item,$owner,$n[0]);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue