mirror of
https://github.com/friendica/friendica
synced 2025-04-29 03:04:22 +02:00
Relocate check for announce
This commit is contained in:
parent
1b0d2f2a4a
commit
b8f81d5e7d
2 changed files with 5 additions and 8 deletions
|
@ -625,6 +625,11 @@ class Notifier
|
|||
return false;
|
||||
}
|
||||
|
||||
// We deliver reshares via AP whenever possible
|
||||
if (ActivityPub\Transmitter::isAnnounce($item)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Skip DFRN when the item will be (forcefully) delivered via AP
|
||||
if (Config::get('debug', 'total_ap_delivery') && ($contact['network'] == Protocol::DFRN) && !empty(APContact::getByURL($contact['url'], false))) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue