Only provide Notice oEmbed data for local notices
This commit is contained in:
parent
f61187a210
commit
6772d991ae
@ -77,6 +77,9 @@ class OembedPlugin extends Plugin
|
||||
'title'=>'oEmbed'),null);
|
||||
break;
|
||||
case 'shownotice':
|
||||
if (!$action->notice->isLocal()) {
|
||||
break;
|
||||
}
|
||||
try {
|
||||
$action->element('link',array('rel'=>'alternate',
|
||||
'type'=>'application/json+oembed',
|
||||
|
Loading…
Reference in New Issue
Block a user