mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
do not include ACTIVITY_OBJ_FILE obj_type in the ping/something query
This commit is contained in:
parent
06bd540cfa
commit
297057d2bd
1 changed files with 5 additions and 2 deletions
|
@ -291,9 +291,12 @@ class Ping extends \Zotlabs\Web\Controller {
|
|||
|
||||
$r = q("SELECT * FROM item
|
||||
WHERE item_unseen = 1 and uid = %d $item_normal
|
||||
and author_xchan != '%s' ORDER BY created DESC limit 300",
|
||||
AND author_xchan != '%s'
|
||||
AND obj_type != '%s'
|
||||
ORDER BY created DESC limit 300",
|
||||
intval(local_channel()),
|
||||
dbesc($ob_hash)
|
||||
dbesc($ob_hash),
|
||||
dbesc(ACTIVITY_OBJ_FILE)
|
||||
);
|
||||
|
||||
if($r) {
|
||||
|
|
Loading…
Reference in a new issue