aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-07-29 01:58:34 -0700
committerzotlabs <mike@macgirvin.com>2017-07-29 01:58:34 -0700
commiteedee6d0a1111625993c1e9927af7e830c5e9c64 (patch)
tree7eafc8afaa39583f9a51357b674002db4bc38a8b /Zotlabs/Module
parente316494e06062f05c8026111dc1132fb6868bce5 (diff)
downloadvolse-hubzilla-eedee6d0a1111625993c1e9927af7e830c5e9c64.tar.gz
volse-hubzilla-eedee6d0a1111625993c1e9927af7e830c5e9c64.tar.bz2
volse-hubzilla-eedee6d0a1111625993c1e9927af7e830c5e9c64.zip
fix notifications - item_notshown is set for likes, etc.
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Ping.php5
1 files changed, 3 insertions, 2 deletions
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) {