mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
performance enhancements
This commit is contained in:
parent
24595c55d7
commit
7b648e6da8
5 changed files with 22 additions and 8 deletions
|
@ -360,7 +360,12 @@ function notifier_run($argv, $argc){
|
|||
if(! $contact)
|
||||
continue;
|
||||
|
||||
$atom .= atom_entry($item,'text',$contact,$owner,true);
|
||||
if($normal_mode) {
|
||||
if($item_id == $item['id'])
|
||||
$atom .= atom_entry($item,'text',$contact,$owner,true);
|
||||
}
|
||||
else
|
||||
$atom .= atom_entry($item,'text',$contact,$owner,true);
|
||||
|
||||
if(($top_level) && ($public_message) && ($item['author-link'] === $item['owner-link']) && (! $expire))
|
||||
$slaps[] = atom_entry($item,'html',$contact,$owner,true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue