From 057a652c50fcfbcaf5882fa42f5f433a4e5f530c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 23 Jul 2018 11:32:19 -0600 Subject: [PATCH] Add AP SharedInbox worker --- app/Jobs/InboxPipeline/SharedInboxWorker.php | 41 ++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 app/Jobs/InboxPipeline/SharedInboxWorker.php diff --git a/app/Jobs/InboxPipeline/SharedInboxWorker.php b/app/Jobs/InboxPipeline/SharedInboxWorker.php new file mode 100644 index 000000000..dcc0db282 --- /dev/null +++ b/app/Jobs/InboxPipeline/SharedInboxWorker.php @@ -0,0 +1,41 @@ +request = $request; + $this->payload = $payload; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + (new Inbox($this->request, null, $this->payload))->handleSharedInbox(); + } +}