mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-17 15:43:41 +00:00
Libertree: Now the title is included in the message as well
This commit is contained in:
parent
daed8c8720
commit
c43a3773c8
1 changed files with 8 additions and 3 deletions
|
@ -169,9 +169,14 @@ function libertree_send(&$a,&$b) {
|
||||||
if(count($tag_arr))
|
if(count($tag_arr))
|
||||||
$tags = implode(',',$tag_arr);
|
$tags = implode(',',$tag_arr);
|
||||||
|
|
||||||
|
$title = $b['title'];
|
||||||
|
$body = $b['body'];
|
||||||
|
|
||||||
|
if(strlen($title))
|
||||||
|
$body = "[b]".html_entity_decode($title)."[/b]\n\n".$body;
|
||||||
|
|
||||||
$params = array(
|
$params = array(
|
||||||
'text' => bb2diaspora($b['body'])
|
'text' => bb2diaspora($body)
|
||||||
// 'token' => $ltree_api_token
|
// 'token' => $ltree_api_token
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue