nitter: mobile links and config enhancements #1159

Merged
tobiasd merged 3 commits from 20210818-nitter into develop 2021-08-19 10:34:52 +02:00
Showing only changes of commit a843e96c1f - Show all commits

View file

@ -37,10 +37,7 @@ function nitter_install()
*/
function nitter_addon_admin_post(App $a)
{
$nitterserver = trim($_POST['nitterserver']);
if ((substr($apiurl, -1) == '/')) {
$apiurl = substr($apiurl, 0, -1);
}
$nitterserver = rtrim(trim($_POST['nitterserver']),'/');
DI::config()->set('nitter', 'server', $nitterserver);
}