spurious activities in feeds

This commit is contained in:
Mike Macgirvin 2024-04-17 12:34:14 +10:00
parent d0fafd07cd
commit 108dc441f7
2 changed files with 2 additions and 2 deletions

View file

@ -148,7 +148,7 @@ function get_feed_for($channel, $observer_hash, $params)
'top' => $params['top'],
'cat' => $params['cat'],
'compat' => $params['compat'],
'noadd' => true
'noadd' => $params['noadd']
],
$channel,
$observer_hash,

View file

@ -4253,7 +4253,7 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C
}
if (isset($arr['noadd']) && $arr['noadd']) {
$item_normal .= " and not verb in ('Add', 'Remove') ";
$sql_options .= " and not verb in ('Add', 'Remove') ";
}
if (isset($arr['star']) && $arr['star']) {