]> git.mxchange.org Git - friendica.git/commitdiff
Issue 1158: muting of threads now works with the API as well.
authorMichael Vogel <icarus@dabo.de>
Sat, 27 Sep 2014 22:42:27 +0000 (00:42 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 27 Sep 2014 22:42:27 +0000 (00:42 +0200)
include/api.php

index f4e744f0450c6ec011b978f0cf1142b62d753f7f..1ccd3edb3d915a0d3af5df48e8246eb79742b93e 100644 (file)
                        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 ",