浏览代码

Update Inbox, fix flag validation condition, allow profile reports

Daniel Supernault 1 年之前
父节点
当前提交
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;
         }