retractions - precedence issue
This commit is contained in:
parent
99681e33af
commit
91de9edecd
1 changed files with 2 additions and 2 deletions
|
@ -513,7 +513,7 @@ function notifier_run($argv, $argc){
|
||||||
// unsupported
|
// unsupported
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
elseif($target_item['deleted'] && (! $target_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;
|
||||||
|
@ -636,7 +636,7 @@ function notifier_run($argv, $argc){
|
||||||
// unsupported
|
// unsupported
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
elseif($target_item['deleted'] && (! $target_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