From eedee6d0a1111625993c1e9927af7e830c5e9c64 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sat, 29 Jul 2017 01:58:34 -0700 Subject: fix notifications - item_notshown is set for likes, etc. --- Zotlabs/Module/Ping.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Module/Ping.php b/Zotlabs/Module/Ping.php index 26b3d3de9..ddb3a8c12 100644 --- a/Zotlabs/Module/Ping.php +++ b/Zotlabs/Module/Ping.php @@ -401,9 +401,10 @@ class Ping extends \Zotlabs\Web\Controller { WHERE item_unseen = 1 and uid = %d $item_normal AND author_xchan != '%s' - AND item_notshown = 0", + AND obj_type != '%s'", intval(local_channel()), - dbesc($ob_hash) + dbesc($ob_hash), + dbesc(ACTIVITY_OBJ_FILE) ); if($r) { -- cgit v1.2.3