From: Michael Vogel Date: Sat, 27 Sep 2014 22:42:27 +0000 (+0200) Subject: Issue 1158: muting of threads now works with the API as well. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2b26181509e281ad2196cc1ac7e29b38b40e4113;p=friendica.git Issue 1158: muting of threads now works with the API as well. --- 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 ",