Page MenuHomePhabricator

D13891.id.diff
No OneTemporary

D13891.id.diff

diff --git a/native/avatars/avatar-hooks.js b/native/avatars/avatar-hooks.js
--- a/native/avatars/avatar-hooks.js
+++ b/native/avatars/avatar-hooks.js
@@ -44,8 +44,7 @@
import blobServiceUploadHandler from '../utils/blob-service-upload.js';
import { useStaffCanSee } from '../utils/staff-utils.js';
-// TODO: flip the switch
-const useBlobServiceUploads = false;
+const useBlobServiceUploads = true;
function displayAvatarUpdateFailureAlert(): void {
Alert.alert(
diff --git a/native/input/input-state-container.react.js b/native/input/input-state-container.react.js
--- a/native/input/input-state-container.react.js
+++ b/native/input/input-state-container.react.js
@@ -191,9 +191,8 @@
}>,
> = new Map();
pendingThreadUpdateHandlers: Map<string, (ThreadInfo) => mixed> = new Map();
- // TODO: flip the switch
- // Note that this enables Blob service for encrypted media only
- useBlobServiceUploads = false;
+
+ useBlobServiceUploads = true;
// When the user sends a multimedia message that triggers the creation of a
// sidebar, the sidebar gets created right away, but the message needs to wait
diff --git a/web/avatars/avatar-hooks.react.js b/web/avatars/avatar-hooks.react.js
--- a/web/avatars/avatar-hooks.react.js
+++ b/web/avatars/avatar-hooks.react.js
@@ -14,8 +14,7 @@
import { generateThumbHash } from '../media/image-utils.js';
import { validateFile } from '../media/media-utils.js';
-// TODO: flip the switch
-const useBlobServiceUploads = false;
+const useBlobServiceUploads = true;
type AvatarMediaUploadOptions = {
+uploadMetadataToKeyserver?: boolean,
diff --git a/web/input/input-state-container.react.js b/web/input/input-state-container.react.js
--- a/web/input/input-state-container.react.js
+++ b/web/input/input-state-container.react.js
@@ -212,9 +212,8 @@
+threadType: ThreadType,
}>,
>();
- // TODO: flip the switch
- // Note that this enables Blob service for encrypted media only
- useBlobServiceUploads = false;
+
+ useBlobServiceUploads = true;
// When the user sends a multimedia message that triggers the creation of a
// sidebar, the sidebar gets created right away, but the message needs to wait

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 9:41 PM (20 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2439463
Default Alt Text
D13891.id.diff (2 KB)

Event Timeline