Merge pull request #2898 from pixelfed/staging

Update AP Inbox
This commit is contained in:
daniel 2021-09-04 00:12:29 -06:00 committed by GitHub
commit 81073f4269
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,6 @@ class Inbox
switch ($verb) {
case 'Add':
if(AddValidator::validate($this->payload) == false) { return; }
$this->handleAddActivity();
break;
@ -167,7 +166,7 @@ class Inbox
switch($obj['type']) {
case 'Story':
StoryFetch::dispatch($this->payload)->onQueue('story');
StoryFetch::dispatchNow($this->payload);
break;
}
}