Log: Show both enabled/disabled and value for flags
This commit is contained in:
parent
46b1e8d0e7
commit
a36977ff5c
1 changed files with 5 additions and 1 deletions
|
@ -186,7 +186,11 @@ try {
|
|||
|
||||
event.sender.send('additional-log-data-response', {
|
||||
capabilities: ourCapabilities || {},
|
||||
remoteConfig: _.mapValues(remoteConfig, ({ value }) => value),
|
||||
remoteConfig: _.mapValues(remoteConfig, ({ value, enabled }) => {
|
||||
const enableString = enabled ? 'enabled' : 'disabled';
|
||||
const valueString = value && value !== 'TRUE' ? ` ${value}` : '';
|
||||
return `${enableString}${valueString}`;
|
||||
}),
|
||||
statistics,
|
||||
user: {
|
||||
deviceId: window.textsecure.storage.user.getDeviceId(),
|
||||
|
|
Loading…
Reference in a new issue