[twitter] Use correct variable to store application name

- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1336015957
pull/1326/head
Hypolite Petovan 2022-12-03 04:22:43 -05:00
parent d45004f44d
commit e4487c4876
1 changed files with 1 additions and 1 deletions

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));
}
}
}