|
|
|
|
@ -1470,11 +1470,13 @@ RocketChat.settings.addGroup('Meta', function() { |
|
|
|
|
RocketChat.settings.addGroup('Push', function() { |
|
|
|
|
this.add('Push_enable', true, { |
|
|
|
|
type: 'boolean', |
|
|
|
|
'public': true |
|
|
|
|
'public': true, |
|
|
|
|
alert: 'Push_Setting_Requires_Restart_Alert' |
|
|
|
|
}); |
|
|
|
|
this.add('Push_debug', false, { |
|
|
|
|
type: 'boolean', |
|
|
|
|
'public': true, |
|
|
|
|
alert: 'Push_Setting_Requires_Restart_Alert', |
|
|
|
|
enableQuery: { |
|
|
|
|
_id: 'Push_enable', |
|
|
|
|
value: true |
|
|
|
|
@ -1482,6 +1484,7 @@ RocketChat.settings.addGroup('Push', function() { |
|
|
|
|
}); |
|
|
|
|
this.add('Push_enable_gateway', true, { |
|
|
|
|
type: 'boolean', |
|
|
|
|
alert: 'Push_Setting_Requires_Restart_Alert', |
|
|
|
|
enableQuery: { |
|
|
|
|
_id: 'Push_enable', |
|
|
|
|
value: true |
|
|
|
|
@ -1489,6 +1492,7 @@ RocketChat.settings.addGroup('Push', function() { |
|
|
|
|
}); |
|
|
|
|
this.add('Push_gateway', 'https://gateway.rocket.chat', { |
|
|
|
|
type: 'string', |
|
|
|
|
alert: 'Push_Setting_Requires_Restart_Alert', |
|
|
|
|
enableQuery: [ |
|
|
|
|
{ |
|
|
|
|
_id: 'Push_enable', |
|
|
|
|
@ -1502,6 +1506,7 @@ RocketChat.settings.addGroup('Push', function() { |
|
|
|
|
this.add('Push_production', true, { |
|
|
|
|
type: 'boolean', |
|
|
|
|
'public': true, |
|
|
|
|
alert: 'Push_Setting_Requires_Restart_Alert', |
|
|
|
|
enableQuery: [ |
|
|
|
|
{ |
|
|
|
|
_id: 'Push_enable', |
|
|
|
|
|