mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
analytics/lib/counts.py: Fix one of the COUNT_STATS definitions.
Fixes an error in the definition of COUNT_STATS['messages_sent_to_stream:is_bot']. The CountStat needs a group_by argument since it is supposed to group by UserProfile.is_bot.
This commit is contained in:
@@ -353,5 +353,5 @@ COUNT_STATS = {
|
||||
(Message, 'sending_client_id'), CountStat.HOUR, False),
|
||||
'messages_sent_to_stream:is_bot': CountStat('messages_sent_to_stream:is_bot',
|
||||
zerver_count_message_by_stream, {},
|
||||
None, CountStat.HOUR, False)
|
||||
(UserProfile, 'is_bot'), CountStat.HOUR, False)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user