Issue 9015: Reducing load of remote systems

This commit is contained in:
Michael 2020-08-15 20:05:08 +00:00
parent 6dff5fa562
commit 1f9b365f3b
6 changed files with 34 additions and 32 deletions

View file

@ -1547,7 +1547,7 @@ class Transmitter
*/
public static function isAnnounce($item)
{
if ($item['verb'] == Activity::ANNOUNCE) {
if (!empty($item['verb']) && ($item['verb'] == Activity::ANNOUNCE)) {
return true;
}