summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-19 16:33:12 -0400
committerJune McEnroe <june@causal.agency>2020-07-19 16:33:12 -0400
commit236dbaa81740a7c99bb3b07b4428f792b6c85e98 (patch)
treefb79ce0ba62dfd2fa9d0fd98387d9a6e9c7eb595
parentSpecify litterbox version in readme (diff)
downloadscooper-236dbaa81740a7c99bb3b07b4428f792b6c85e98.tar.gz
scooper-236dbaa81740a7c99bb3b07b4428f792b6c85e98.zip
Filter networks with only private contexts from recents as well
-rw-r--r--networks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networks.c b/networks.c
index f1f8c89..b5b880d 100644
--- a/networks.c
+++ b/networks.c
@@ -32,6 +32,7 @@ const char *NetworksQuery = SQL(
 		SELECT network
 		FROM contexts
 		JOIN recentEvents USING (context)
+		WHERE query <= NOT :public
 		GROUP BY network
 		ORDER BY max(time) DESC
 	), allNetworks AS (
?h=2.1p1&id=648c5cc21484a4f0d9846f04bc47c1e35fa18234&follow=1'>Track channel topicsJune McEnroe 2019-10-26Set AWAY when no clients are connectedJune McEnroe 2019-10-26Add flags to request TOPIC and NAMES on client connectJune McEnroe 2019-10-26OopsJune McEnroe 2019-10-26Disconnect client on unknown commandJune McEnroe During registration, no other commands should be sent. Afterwards, only intercepted commands will get parsed. 2019-10-26Allow reading sensitive information from filesJune McEnroe 2019-10-26Add rc scriptJune McEnroe 2019-10-25Add install and uninstall targetsJune McEnroe 2019-10-25Expand documentationJune McEnroe 2019-10-25Add AGPLv3 notice on client registrationJune McEnroe OwO 2019-10-25Rename project pounceJune McEnroe