From 9717d4502f460e56d76eb52c244124e2b995677c Mon Sep 17 00:00:00 2001 From: git-marijus Date: Fri, 28 Jul 2017 23:01:39 +0200 Subject: do not show obj_type ACTIVITY_OBJ_FILE under activity notifications and do not mark those read in /network --- Zotlabs/Module/Ping.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Zotlabs/Module/Ping.php') diff --git a/Zotlabs/Module/Ping.php b/Zotlabs/Module/Ping.php index ac8c466f8..ddb3a8c12 100644 --- a/Zotlabs/Module/Ping.php +++ b/Zotlabs/Module/Ping.php @@ -400,9 +400,11 @@ class Ping extends \Zotlabs\Web\Controller { $r = q("SELECT id, item_wall FROM item WHERE item_unseen = 1 and uid = %d $item_normal - and author_xchan != '%s'", + AND author_xchan != '%s' + AND obj_type != '%s'", intval(local_channel()), - dbesc($ob_hash) + dbesc($ob_hash), + dbesc(ACTIVITY_OBJ_FILE) ); if($r) { -- cgit v1.2.3