fix notifications - item_notshown is set for likes, etc.
This commit is contained in:
parent
e316494e06
commit
eedee6d0a1
@ -401,9 +401,10 @@ class Ping extends \Zotlabs\Web\Controller {
|
|||||||
WHERE item_unseen = 1 and uid = %d
|
WHERE item_unseen = 1 and uid = %d
|
||||||
$item_normal
|
$item_normal
|
||||||
AND author_xchan != '%s'
|
AND author_xchan != '%s'
|
||||||
AND item_notshown = 0",
|
AND obj_type != '%s'",
|
||||||
intval(local_channel()),
|
intval(local_channel()),
|
||||||
dbesc($ob_hash)
|
dbesc($ob_hash),
|
||||||
|
dbesc(ACTIVITY_OBJ_FILE)
|
||||||
);
|
);
|
||||||
|
|
||||||
if($r) {
|
if($r) {
|
||||||
|
Reference in New Issue
Block a user