diff options
author | git-marijus <mario@mariovavti.com> | 2017-07-28 23:07:16 +0200 |
---|---|---|
committer | git-marijus <mario@mariovavti.com> | 2017-07-28 23:07:16 +0200 |
commit | 4585e35b3e086638fa7a0c3832d80c57339a397e (patch) | |
tree | 82c221a92d6075bd38c16174bcb8187fb017181e /Zotlabs/Module/Ping.php | |
parent | 9717d4502f460e56d76eb52c244124e2b995677c (diff) | |
download | volse-hubzilla-4585e35b3e086638fa7a0c3832d80c57339a397e.tar.gz volse-hubzilla-4585e35b3e086638fa7a0c3832d80c57339a397e.tar.bz2 volse-hubzilla-4585e35b3e086638fa7a0c3832d80c57339a397e.zip |
filter by item_notshown instead of obj_type
Diffstat (limited to 'Zotlabs/Module/Ping.php')
-rw-r--r-- | Zotlabs/Module/Ping.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Ping.php b/Zotlabs/Module/Ping.php index ddb3a8c12..26b3d3de9 100644 --- a/Zotlabs/Module/Ping.php +++ b/Zotlabs/Module/Ping.php @@ -401,10 +401,9 @@ class Ping extends \Zotlabs\Web\Controller { WHERE item_unseen = 1 and uid = %d $item_normal AND author_xchan != '%s' - AND obj_type != '%s'", + AND item_notshown = 0", intval(local_channel()), - dbesc($ob_hash), - dbesc(ACTIVITY_OBJ_FILE) + dbesc($ob_hash) ); if($r) { |