Просмотр исходного кода

Update Inbox, fix flag validation condition, allow profile reports

Daniel Supernault 1 год назад
Родитель
Сommit
402a4607c9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Util/ActivityPub/Inbox.php

+ 1 - 1
app/Util/ActivityPub/Inbox.php

@@ -1283,7 +1283,7 @@ class Inbox
             }
         }
 
-        if(!$accountId || !$objects->count()) {
+        if(!$accountId && !$objects->count()) {
             return;
         }