From 2b26181509e281ad2196cc1ac7e29b38b40e4113 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 28 Sep 2014 00:42:27 +0200 Subject: [PATCH] Issue 1158: muting of threads now works with the API as well. --- include/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/api.php b/include/api.php index f4e744f045..1ccd3edb3d 100644 --- a/include/api.php +++ b/include/api.php @@ -1393,7 +1393,7 @@ AND `item`.`visible` = 1 and `item`.`moderated` = 0 AND `item`.`deleted` = 0 AND `contact`.`id` = `item`.`contact-id` AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 - AND `item`.`parent` IN (SELECT `iid` from thread where uid = %d AND `mention`) + AND `item`.`parent` IN (SELECT `iid` from thread where uid = %d AND `mention` AND !`ignored`) $sql_extra AND `item`.`id`>%d ORDER BY `item`.`id` DESC LIMIT %d ,%d ", -- 2.39.5