From 2153054cacde4543706daf47fd77a0adcea47524 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 1 Feb 2023 07:20:15 +0000 Subject: [PATCH] Fix call to get_users --- core/views/ui/drilldown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views/ui/drilldown.py b/core/views/ui/drilldown.py index 00c8b4d..61b69ed 100644 --- a/core/views/ui/drilldown.py +++ b/core/views/ui/drilldown.py @@ -443,7 +443,7 @@ class ThresholdInfoModal(APIView): channel = request.data["channel"] channels = get_chans(net, [nick]) - users = get_users(net, [nick]) + users = get_users(net, [channel]) num_users = annotate_num_users(net, channels) num_chans = annotate_num_chans(net, users) if channels: