소스 검색

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) {