Look for syndicate-to
when deciding wether to syndicate to twitter
This commit is contained in:
parent
538acb3185
commit
221f1f449d
2 changed files with 6 additions and 3 deletions
|
@ -48,11 +48,11 @@ class NoteService
|
||||||
$this->dispatch(new SendWebMentions($note));
|
$this->dispatch(new SendWebMentions($note));
|
||||||
|
|
||||||
if (//micropub request, syndication sent as array
|
if (//micropub request, syndication sent as array
|
||||||
(is_array($request->input('mp-syndicate-to'))
|
(is_array($request->input('syndicate-to'))
|
||||||
&&
|
&&
|
||||||
(in_array('twitter.com/jonnybarnes', $request->input('mp-syndicate-to')))
|
(in_array('twitter.com/jonnybarnes', $request->input('syndicate-to')))
|
||||||
|| //micropub request, syndication sent as string
|
|| //micropub request, syndication sent as string
|
||||||
($request->input('mp-syndicate-to') == 'twitter.com/jonnybarnes')
|
($request->input('syndicate-to') == 'twitter.com/jonnybarnes')
|
||||||
|| //local admin cp request
|
|| //local admin cp request
|
||||||
($request->input('twitter') == true))
|
($request->input('twitter') == true))
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## Version {next}
|
||||||
|
- Fix an issue with dispatching the syndication job
|
||||||
|
|
||||||
## Version 0.0.6.2 (2016-06-28)
|
## Version 0.0.6.2 (2016-06-28)
|
||||||
- Fix an issue with sending webmentions
|
- Fix an issue with sending webmentions
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue