[twitter] Use correct variable to store application name

- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1336015957
This commit is contained in:
Hypolite Petovan 2022-12-03 04:22:43 -05:00
parent d45004f44d
commit e4487c4876

View file

@ -882,7 +882,7 @@ function twitter_post_hook(App $a, array &$b)
}
if (!empty($application_name)) {
DI::config()->set('twitter', 'application_name', strip_tags($result->source));
DI::config()->set('twitter', 'application_name', strip_tags($application_name));
}
}
}