]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
Merge pull request #1168 from annando/1409-application-source-name
[friendica.git] / include / api.php
index f2f20606316494693f5a516df866e03d33664589..f6096f29074eb1107f8edf0ef21bd74f5e288267 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 ",