]> git.mxchange.org Git - friendica-addons.git/blobdiff - forumlist/forumlist.php
make forumlist & page respect hidden, blocked, and archived contacts
[friendica-addons.git] / forumlist / forumlist.php
index 3fc622dada00ab5c47a8ed489c6f0ffb5a114cf5..332ac2783cf9d14fa76e9202d8ae3654177abb23 100644 (file)
@@ -36,6 +36,7 @@ function forumlist_getpage($uid,$showhidden = true,$randomise = false) {
 
        $contacts = q("SELECT `contact`.`id`, `contact`.`url`, `contact`.`name`, `contact`.`micro` from contact 
                        WHERE `network`= 'dfrn' AND `forum` = 1 AND `uid` = %d
+                       and blocked = 0 and hidden = 0 and pending = 0 and archive = 0
                        $order ",
                        intval($uid)
        );