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:
umkay
2016-11-10 12:20:26 -08:00
parent 4438a09b30
commit dc8463e09c

View File

@@ -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)
}