diff options
author | zotlabs <mike@macgirvin.com> | 2017-07-29 01:58:34 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-07-29 01:58:34 -0700 |
commit | eedee6d0a1111625993c1e9927af7e830c5e9c64 (patch) | |
tree | 7eafc8afaa39583f9a51357b674002db4bc38a8b | |
parent | e316494e06062f05c8026111dc1132fb6868bce5 (diff) | |
download | volse-hubzilla-eedee6d0a1111625993c1e9927af7e830c5e9c64.tar.gz volse-hubzilla-eedee6d0a1111625993c1e9927af7e830c5e9c64.tar.bz2 volse-hubzilla-eedee6d0a1111625993c1e9927af7e830c5e9c64.zip |
fix notifications - item_notshown is set for likes, etc.
-rw-r--r-- | Zotlabs/Module/Ping.php | 5 |
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) { |