diff options
author | Mario <mario@mariovavti.com> | 2020-04-23 19:38:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-04-23 19:38:19 +0000 |
commit | 2b8afd55800754aeb158d77940777ecc2c119d37 (patch) | |
tree | d9a5a1d0b6251f1847a4614cf3b386495a7dfbb7 /Zotlabs/Module/Sse_bs.php | |
parent | 7e89d816d7cddbd378e7eaed8e38f9776f3ae167 (diff) | |
download | volse-hubzilla-2b8afd55800754aeb158d77940777ecc2c119d37.tar.gz volse-hubzilla-2b8afd55800754aeb158d77940777ecc2c119d37.tar.bz2 volse-hubzilla-2b8afd55800754aeb158d77940777ecc2c119d37.zip |
fix file notifications
Diffstat (limited to 'Zotlabs/Module/Sse_bs.php')
-rw-r--r-- | Zotlabs/Module/Sse_bs.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php index e4394fe33..290c616a9 100644 --- a/Zotlabs/Module/Sse_bs.php +++ b/Zotlabs/Module/Sse_bs.php @@ -449,12 +449,15 @@ class Sse_bs extends Controller { if(! self::$uid) return $result; + $item_normal = item_normal(); + $r = q("SELECT * FROM item WHERE verb = '%s' AND obj_type in ('Document', 'Video', 'Audio', 'Image') AND uid = %d - AND owner_xchan != '%s' - AND item_unseen = 1", + AND author_xchan != '%s' + AND item_unseen = 1 + $item_normal", dbesc(ACTIVITY_POST), intval(self::$uid), dbesc(self::$ob_hash) |