mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 15:09:34 +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, {},
|
'messages_sent:client': CountStat('messages_sent:client', zerver_count_message_by_user, {},
|
||||||
(Message, 'sending_client_id'), CountStat.HOUR, False),
|
(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,
|
'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