botserver: Add outgoing webhook tokens to botserverrc.

The tokens will be used to authorize the server when sending
messages to the Botserver.
This commit is contained in:
Robert Hönig
2018-05-30 11:09:35 +02:00
committed by showell
parent 0ffcb7fccf
commit 647c63050f
6 changed files with 20 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ var bot_data = (function () {
'email', 'full_name', 'is_active', 'owner', 'bot_type', 'user_id'];
var services = {};
var services_fields = ['base_url', 'interface',
'config_data', 'service_name'];
'config_data', 'service_name', 'token'];
var send_change_event = _.debounce(function () {
$(document).trigger('zulip.bot_data_changed');