From: Michael Vogel Date: Wed, 18 Jul 2012 19:04:23 +0000 (+0200) Subject: Libertree: The source is set to the site name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=97209cee755c391c5cd7f534cde6177d275bd53b;p=friendica-addons.git Libertree: The source is set to the site name --- diff --git a/libertree/libertree.php b/libertree/libertree.php index 4141d8b6..2809adee 100755 --- a/libertree/libertree.php +++ b/libertree/libertree.php @@ -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');