mirror of
https://github.com/friendica/friendica
synced 2025-04-27 14:30:11 +00:00
The generated XML is now valid and it seems to work.
This commit is contained in:
parent
75f1a17f7e
commit
7d7e2e74f4
4 changed files with 30 additions and 29 deletions
|
@ -530,8 +530,8 @@ function notifier_run(&$argv, &$argc){
|
|||
unset($photos);
|
||||
} else {
|
||||
|
||||
//$slap = ostatus_salmon($target_item,$owner);
|
||||
$slap = atom_entry($target_item,'html',null,$owner,false);
|
||||
$slap = ostatus_salmon($target_item,$owner);
|
||||
//$slap = atom_entry($target_item,'html',null,$owner,false);
|
||||
|
||||
if($followup) {
|
||||
foreach($items as $item) { // there is only one item
|
||||
|
@ -571,8 +571,8 @@ function notifier_run(&$argv, &$argc){
|
|||
$atom .= atom_entry($item,'text',null,$owner,true);
|
||||
|
||||
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);
|
||||
$slaps[] = ostatus_salmon($item,$owner);
|
||||
//$slaps[] = atom_entry($item,'html',null,$owner,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue