forked from friendica/friendica-addons
[twitter] Use correct variable to store application name
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1336015957
This commit is contained in:
parent
d45004f44d
commit
e4487c4876
|
@ -882,7 +882,7 @@ function twitter_post_hook(App $a, array &$b)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($application_name)) {
|
if (!empty($application_name)) {
|
||||||
DI::config()->set('twitter', 'application_name', strip_tags($result->source));
|
DI::config()->set('twitter', 'application_name', strip_tags($application_name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue