diff options
author | Friendika <info@friendika.com> | 2011-10-04 18:53:56 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-04 18:53:56 -0700 |
commit | 7b648e6da85ece5b402dfce6d546f5711bc63bea (patch) | |
tree | 940f25331bc9e62decc8cf831619e083c3fdf28a /include/notifier.php | |
parent | 24595c55d7258660862ef5bc2203b226d6615362 (diff) | |
download | volse-hubzilla-7b648e6da85ece5b402dfce6d546f5711bc63bea.tar.gz volse-hubzilla-7b648e6da85ece5b402dfce6d546f5711bc63bea.tar.bz2 volse-hubzilla-7b648e6da85ece5b402dfce6d546f5711bc63bea.zip |
performance enhancements
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php index d1cd1cc73..ceeea2368 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -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); |