mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 08:58:49 +00:00
Diaspora: The hostname is now send, so that at Diaspora there is a line telling "via ..."
This commit is contained in:
parent
ce997a0367
commit
a23099a6fd
3 changed files with 9 additions and 5 deletions
|
@ -61,11 +61,12 @@ class Diasphp {
|
|||
return $this;
|
||||
}
|
||||
|
||||
function post($text) {
|
||||
function post($text, $provider = "diasphp") {
|
||||
// post-daten vorbereiten
|
||||
$datatopost = json_encode(array(
|
||||
'aspect_ids' => 'public',
|
||||
'status_message' => array('text' => $text)
|
||||
'status_message' => array('text' => $text,
|
||||
'provider_display_name' => $provider)
|
||||
));
|
||||
|
||||
// header vorbereiten
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue