mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
analytics: Remove incorrect filter args for stat.
The filter args dictionary applies to the X table in a count X by Y query, which in this case is the zerver_message table. This stat had an incorrect set of arguments meant for the zerver_userprofile table.
This commit is contained in:
@@ -330,5 +330,5 @@ COUNT_STATS = {
|
||||
'messages_sent:client': CountStat('messages_sent:client', zerver_count_message_by_user, {},
|
||||
(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,
|
||||
{'is_active': True}, (UserProfile, 'is_bot'), CountStat.HOUR, False)
|
||||
{}, (UserProfile, 'is_bot'), CountStat.HOUR, False)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user