From: Michael Date: Fri, 12 Jan 2018 00:23:45 +0000 (+0000) Subject: Only filter for hash tags on federated networks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eee3ae96171d08f68d1a4b0d952ddf8183ab5736;p=friendica.git Only filter for hash tags on federated networks --- diff --git a/mod/network.php b/mod/network.php index 9d999d2426..9b6e3f1c30 100644 --- a/mod/network.php +++ b/mod/network.php @@ -809,7 +809,8 @@ function networkThreadedView(App $a, $update = 0) { } // Only show it when unfiltered (no groups, no networks, ...) - if (Config::get('system', 'comment_public') && (count($r) > 0) && (strlen($sql_extra . $sql_extra2 . $sql_extra3 . $sql_extra4) == 0)) { + if (Config::get('system', 'comment_public') && (count($r) > 0) && in_array($nets, ['', NETWORK_DFRN, NETWORK_DIASPORA, NETWORK_OSTATUS]) + && (strlen($sql_extra . $sql_extra2 . $sql_extra3 . $sql_extra4) == 0)) { $top_limit = current($r)['order_date']; $bottom_limit = end($r)['order_date'];