do not show pubs notifications for items with ACTIVITY_OBJ_FILE obj_type
This commit is contained in:
parent
599b395e24
commit
2ba2187c2e
@ -147,11 +147,13 @@ class Ping extends \Zotlabs\Web\Controller {
|
|||||||
$pubs = q("SELECT count(id) as total from item
|
$pubs = q("SELECT count(id) as total from item
|
||||||
WHERE uid = %d
|
WHERE uid = %d
|
||||||
AND author_xchan != '%s'
|
AND author_xchan != '%s'
|
||||||
|
AND obj_type != '%s'
|
||||||
AND item_unseen = 1
|
AND item_unseen = 1
|
||||||
AND created > '" . datetime_convert('UTC','UTC',$_SESSION['static_loadtime']) . "'
|
AND created > '" . datetime_convert('UTC','UTC',$_SESSION['static_loadtime']) . "'
|
||||||
$item_normal",
|
$item_normal",
|
||||||
intval($sys['channel_id']),
|
intval($sys['channel_id']),
|
||||||
dbesc(get_observer_hash())
|
dbesc(get_observer_hash()),
|
||||||
|
dbesc(ACTIVITY_OBJ_FILE)
|
||||||
);
|
);
|
||||||
|
|
||||||
if($pubs)
|
if($pubs)
|
||||||
|
Reference in New Issue
Block a user