浏览代码

Update AP inbox

Daniel Supernault 5 年之前
父节点
当前提交
7c0426ab2c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Util/ActivityPub/Inbox.php

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

@@ -326,7 +326,7 @@ class Inbox
                     $profile = Helpers::profileFetch($actor);
                     $status = Status::whereProfileId($profile->id)
                         ->whereUri($id)
-                        ->orWhereUrl($id)
+                        ->orWhere('url', $id)
                         ->orWhere('object_url', $id)
                         ->first();
                     if(!$status) {