Fix tag filtering on block/mute list

This commit is contained in:
Hank Grabowski 2023-02-28 11:35:21 -05:00
parent 1f6578229e
commit 099ef11183

View file

@ -107,7 +107,7 @@ class Tag extends BaseApi
if (!empty($uid)) { if (!empty($uid)) {
$condition = DBA::mergeConditions( $condition = DBA::mergeConditions(
$condition, $condition,
["NOT `parent-author-id` IN (SELECT `cid` FROM `user-contact` WHERE `uid` = ? AND (`blocked` OR `ignored`) AND `cid` = `parent-author-id`)", $uid] ["NOT `author-id` IN (SELECT `cid` FROM `user-contact` WHERE `uid` = ? AND (`blocked` OR `ignored`) AND `cid` = `author-id`)", $uid]
); );
} }