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.mandatoryProfileSharing'
| 'desktop.messageRequests' | 'desktop.messageRequests'
| 'desktop.storage' | 'desktop.storage'
| 'desktop.storageWrite' | 'desktop.storageWrite2'
| 'global.groupsv2.maxGroupSize' | 'global.groupsv2.maxGroupSize'
| 'global.groupsv2.groupSizeHardLimit'; | 'global.groupsv2.groupSizeHardLimit';
type ConfigValueType = { type ConfigValueType = {

View file

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

View file

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