[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.
This commit is contained in:
parent
d893ea016d
commit
1ec669ce9a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue