mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 22:43:41 +00:00
Libertree: The source is set to the site name
This commit is contained in:
parent
c460ff6348
commit
97209cee75
1 changed files with 2 additions and 1 deletions
|
@ -153,7 +153,8 @@ function libertree_send(&$a,&$b) {
|
|||
$ltree_api_token = get_pconfig($b['uid'],'libertree','libertree_api_token');
|
||||
$ltree_url = get_pconfig($b['uid'],'libertree','libertree_url');
|
||||
$ltree_blog = "$ltree_url/api/v1/posts/create/?token=$ltree_api_token";
|
||||
$ltree_source = "Friendica";
|
||||
//$ltree_source = "Friendica";
|
||||
$ltree_source = "[".$a->config['sitename']."](".$a->get_baseurl().")";
|
||||
if($ltree_url && $ltree_api_token && $ltree_blog && $ltree_source) {
|
||||
|
||||
require_once('include/bb2diaspora.php');
|
||||
|
|
Loading…
Reference in a new issue