New function for creating the OStatus messages
This commit is contained in:
parent
1babf5a6d1
commit
75f1a17f7e
4 changed files with 383 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
require_once("boot.php");
|
||||
require_once('include/queue_fn.php');
|
||||
require_once('include/html2plain.php');
|
||||
require_once("include/ostatus.php");
|
||||
|
||||
function delivery_run(&$argv, &$argc){
|
||||
global $a, $db;
|
||||
|
|
@ -391,6 +392,7 @@ function delivery_run(&$argv, &$argc){
|
|||
continue;
|
||||
|
||||
if(($top_level) && ($public_message) && ($item['author-link'] === $item['owner-link']) && (! $expire))
|
||||
//$slaps[] = ostatus_salmon($item,$owner);
|
||||
$slaps[] = atom_entry($item,'html',null,$owner,true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue