Libertree: Posting works again (new "source" field)
authorMichael Vogel <icarus@dabo.de>
Mon, 9 Jul 2012 09:54:52 +0000 (11:54 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 9 Jul 2012 09:54:52 +0000 (11:54 +0200)
libertree/libertree.php

index c117fa8..4b55a5e 100755 (executable)
@@ -196,7 +196,8 @@ function libertree_send(&$a,&$b) {
                        $body = "## ".html_entity_decode($title)."\n\n".$body;
 
                $params = array(
-                       'text' => $body
+                       'text' => $body,
+                       'source' => "friendica"
                //      'token' => $ltree_api_token
                );