mirror of
https://github.com/friendica/friendica
synced 2024-11-10 12:22:53 +00:00
Comment deletions are always send via DFRN
This commit is contained in:
parent
e5b276f58b
commit
24099c3439
1 changed files with 3 additions and 1 deletions
|
@ -519,7 +519,9 @@ class Notifier
|
|||
$contact['network'] = Protocol::DFRN;
|
||||
}
|
||||
|
||||
if (in_array($contact['id'], $ap_contacts)) {
|
||||
// Deletions are always sent via DFRN as well.
|
||||
// This is done until we can perform deletions of foreign comments on our own threads via AP.
|
||||
if (($cmd != Delivery::DELETION) && in_array($contact['id'], $ap_contacts)) {
|
||||
Logger::info('Contact is already delivered via AP, so skip delivery via legacy DFRN/Diaspora', ['target' => $post_uriid, 'uid' => $sender_uid, 'contact' => $contact['url']]);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue