fix notifications - item_notshown is set for likes, etc.

This commit is contained in:
zotlabs 2017-07-29 01:58:34 -07:00
parent e316494e06
commit eedee6d0a1

View File

@ -401,9 +401,10 @@ class Ping extends \Zotlabs\Web\Controller {
WHERE item_unseen = 1 and uid = %d WHERE item_unseen = 1 and uid = %d
$item_normal $item_normal
AND author_xchan != '%s' AND author_xchan != '%s'
AND item_notshown = 0", AND obj_type != '%s'",
intval(local_channel()), intval(local_channel()),
dbesc($ob_hash) dbesc($ob_hash),
dbesc(ACTIVITY_OBJ_FILE)
); );
if($r) { if($r) {