1
0
Fork 0

Detect and remove contact duplicates

This commit is contained in:
Michael 2022-09-16 05:00:06 +00:00
commit 79b64cc44f
15 changed files with 281 additions and 60 deletions

View file

@ -502,7 +502,7 @@ class Notifier
$a = DI::app();
$delivery_queue_count = 0;
if ($target_item['verb'] == Activity::ANNOUNCE) {
if (!empty($target_item['verb']) && ($target_item['verb'] == Activity::ANNOUNCE)) {
Logger::notice('Announces are only delivery via ActivityPub', ['cmd' => $cmd, 'id' => $target_item['id'], 'guid' => $target_item['guid'], 'uri-id' => $target_item['uri-id'], 'uri' => $target_item['uri']]);
return 0;
}