]> git.mxchange.org Git - friendica.git/commitdiff
Fix tag filtering on block/mute list
authorHank Grabowski <hankgrabowski@gmail.com>
Tue, 28 Feb 2023 16:35:21 +0000 (11:35 -0500)
committerHank Grabowski <hankgrabowski@gmail.com>
Tue, 28 Feb 2023 16:35:21 +0000 (11:35 -0500)
src/Module/Api/Mastodon/Timelines/Tag.php

index 476c9c2b94724ce51c4eb8dc557024ac14fbfa79..4943b51b07a9b9e50f48937b7c78f8b764343626 100644 (file)
@@ -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]
                        );
                }