[nitter] use other hook for the addon
This enables the addon to also replace links in the attached preview with the Nitter server. **BUT** it requires the addon to be reloaded manually by the nodes admin.pull/1175/head
parent
d893ea016d
commit
1ec669ce9a
|
@ -30,7 +30,7 @@ use Friendica\DI;
|
|||
|
||||
function nitter_install()
|
||||
{
|
||||
Addon::registerHook ('prepare_body', 'addon/nitter/nitter.php', 'nitter_render');
|
||||
Addon::registerHook ('prepare_body_final', 'addon/nitter/nitter.php', 'nitter_render');
|
||||
}
|
||||
|
||||
/* Handle the send data from the admin settings
|
||||
|
|
Loading…
Reference in New Issue