2023-01-03 19:55:46 +00:00
|
|
|
// Copyright 2017 Signal Messenger, LLC
|
2021-08-18 20:08:14 +00:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
import { installCallback, installSetting } from '../util/preload';
|
|
|
|
|
|
|
|
// ChatColorPicker redux hookups
|
|
|
|
installCallback('getCustomColors');
|
|
|
|
installCallback('getConversationsWithCustomColor');
|
|
|
|
installCallback('addCustomColor');
|
|
|
|
installCallback('editCustomColor');
|
|
|
|
installCallback('removeCustomColor');
|
|
|
|
installCallback('removeCustomColorOnConversations');
|
|
|
|
installCallback('resetAllChatColors');
|
|
|
|
installCallback('resetDefaultChatColor');
|
|
|
|
installCallback('setGlobalDefaultConversationColor');
|
|
|
|
installCallback('getDefaultConversationColor');
|
|
|
|
|
|
|
|
// Getters only. These are set by the primary device
|
|
|
|
installSetting('blockedCount', {
|
|
|
|
setter: false,
|
|
|
|
});
|
|
|
|
installSetting('linkPreviewSetting', {
|
|
|
|
setter: false,
|
|
|
|
});
|
|
|
|
installSetting('readReceiptSetting', {
|
|
|
|
setter: false,
|
|
|
|
});
|
|
|
|
installSetting('typingIndicatorSetting', {
|
|
|
|
setter: false,
|
|
|
|
});
|
|
|
|
|
2022-10-19 16:35:56 +00:00
|
|
|
installCallback('deleteAllMyStories');
|
2022-07-20 00:47:05 +00:00
|
|
|
installCallback('isPrimary');
|
|
|
|
installCallback('syncRequest');
|
|
|
|
|
2021-08-18 20:08:14 +00:00
|
|
|
installSetting('alwaysRelayCalls');
|
2023-05-08 19:59:36 +00:00
|
|
|
installSetting('audioMessage');
|
2021-08-18 20:08:14 +00:00
|
|
|
installSetting('audioNotification');
|
2023-12-18 23:22:46 +00:00
|
|
|
installSetting('autoConvertEmoji');
|
2021-08-19 22:56:29 +00:00
|
|
|
installSetting('autoDownloadUpdate');
|
2021-08-18 20:08:14 +00:00
|
|
|
installSetting('autoLaunch');
|
|
|
|
installSetting('callRingtoneNotification');
|
|
|
|
installSetting('callSystemNotification');
|
2022-07-20 00:47:05 +00:00
|
|
|
installSetting('countMutedConversations');
|
2021-08-18 20:08:14 +00:00
|
|
|
installSetting('deviceName');
|
2024-02-06 18:35:59 +00:00
|
|
|
installSetting('phoneNumber');
|
2022-10-04 17:53:36 +00:00
|
|
|
installSetting('hasStoriesDisabled');
|
2021-08-18 20:08:14 +00:00
|
|
|
installSetting('hideMenuBar');
|
|
|
|
installSetting('incomingCallNotification');
|
2022-07-20 00:47:05 +00:00
|
|
|
installSetting('lastSyncTime');
|
2023-11-06 21:19:23 +00:00
|
|
|
installSetting('localeOverride');
|
2021-08-18 20:08:14 +00:00
|
|
|
installSetting('notificationDrawAttention');
|
|
|
|
installSetting('notificationSetting');
|
|
|
|
installSetting('spellCheck');
|
|
|
|
installSetting('systemTraySetting');
|
2022-12-02 23:54:37 +00:00
|
|
|
installSetting('sentMediaQualitySetting');
|
2023-12-08 23:26:08 +00:00
|
|
|
installSetting('textFormatting');
|
2021-08-18 20:08:14 +00:00
|
|
|
installSetting('themeSetting');
|
|
|
|
installSetting('universalExpireTimer');
|
|
|
|
installSetting('zoomFactor');
|
2023-02-23 21:32:19 +00:00
|
|
|
installSetting('phoneNumberDiscoverabilitySetting');
|
|
|
|
installSetting('phoneNumberSharingSetting');
|
2021-08-18 20:08:14 +00:00
|
|
|
|
|
|
|
// Media Settings
|
|
|
|
installCallback('getAvailableIODevices');
|
|
|
|
installSetting('preferredAudioInputDevice');
|
|
|
|
installSetting('preferredAudioOutputDevice');
|
|
|
|
installSetting('preferredVideoInputDevice');
|