Revs up the desktop.storageWrite2 feature flag
This commit is contained in:
parent
4aaf08ba49
commit
5b0e267fb2
3 changed files with 5 additions and 5 deletions
|
@ -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 = {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue