Have webmentions sent automatically
This commit is contained in:
parent
44060da577
commit
e31364e787
7 changed files with 49 additions and 11 deletions
|
@ -5,7 +5,7 @@ namespace App\Services;
|
|||
use App\Note;
|
||||
use App\Place;
|
||||
use Illuminate\Http\Request;
|
||||
use App\Jobs\SendWebmentions;
|
||||
use App\Jobs\SendWebMentions;
|
||||
use App\Jobs\SyndicateToTwitter;
|
||||
use Illuminate\Foundation\Bus\DispatchesJobs;
|
||||
use App\Http\Controllers\WebMentionsController;
|
||||
|
@ -46,7 +46,7 @@ class NoteService
|
|||
}
|
||||
}
|
||||
|
||||
$this->dispatch(new SendWebmentions($note));
|
||||
$this->dispatch(new SendWebMentions($note));
|
||||
|
||||
if (//micropub request, syndication sent as array
|
||||
(is_array($request->input('mp-syndicate-to'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue