bot_data.js: Add `is_active` field to `bot_dict`.

This commit is contained in:
Harshit Bansal 2017-02-06 20:02:53 +00:00 committed by Tim Abbott
parent 9d5be410af
commit a900a2076a
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ var bot_data = (function () {
var bots = {};
var bot_fields = ['api_key', 'avatar_url', 'default_all_public_streams',
'default_events_register_stream',
'default_sending_stream', 'email', 'full_name', 'owner'];
'default_events_register_stream', 'default_sending_stream',
'email', 'full_name', 'is_active', 'owner'];
var send_change_event = _.debounce(function () {
$(document).trigger('zulip.bot_data_changed');