Revs up the desktop.storageWrite2 feature flag

This commit is contained in:
Josh Perez 2020-12-08 16:16:40 -05:00 committed by GitHub
parent 4aaf08ba49
commit 5b0e267fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ type ConfigKeyType =
| 'desktop.mandatoryProfileSharing'
| 'desktop.messageRequests'
| 'desktop.storage'
| 'desktop.storageWrite'
| 'desktop.storageWrite2'
| 'global.groupsv2.maxGroupSize'
| 'global.groupsv2.groupSizeHardLimit';
type ConfigValueType = {

View File

@ -4163,9 +4163,9 @@ export class ConversationModel extends window.Backbone.Model<
// [X] archived
// [X] markedUnread
captureChange(property: string): void {
if (!window.Signal.RemoteConfig.isEnabled('desktop.storageWrite')) {
if (!window.Signal.RemoteConfig.isEnabled('desktop.storageWrite2')) {
window.log.info(
'conversation.captureChange: Returning early; desktop.storageWrite is falsey'
'conversation.captureChange: Returning early; desktop.storageWrite2 is falsey'
);
return;

View File

@ -956,9 +956,9 @@ async function upload(): Promise<void> {
return;
}
if (!isEnabled('desktop.storageWrite')) {
if (!isEnabled('desktop.storageWrite2')) {
window.log.info(
'storageService.upload: Not starting desktop.storageWrite is falsey'
'storageService.upload: Not starting desktop.storageWrite2 is falsey'
);
return;