From: Hank Grabowski Date: Tue, 28 Feb 2023 16:35:21 +0000 (-0500) Subject: Fix tag filtering on block/mute list X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=099ef1118385d36d6fa6b0482a7aad15d835a3fe;p=friendica.git Fix tag filtering on block/mute list --- diff --git a/src/Module/Api/Mastodon/Timelines/Tag.php b/src/Module/Api/Mastodon/Timelines/Tag.php index 476c9c2b94..4943b51b07 100644 --- a/src/Module/Api/Mastodon/Timelines/Tag.php +++ b/src/Module/Api/Mastodon/Timelines/Tag.php @@ -107,7 +107,7 @@ class Tag extends BaseApi if (!empty($uid)) { $condition = DBA::mergeConditions( $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] ); }