]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Notifier.php
Issue 11932: Restore SQL performance
[friendica.git] / src / Worker / Notifier.php
index b236abc1951a012ea069837d5120c03ad3a20ec1..3b4e1478c015527d45eac0aef9bdecf05094bfc0 100644 (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;
                }