Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3348051
D13891.id45658.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D13891.id45658.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 1:40 PM (19 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2570983
Default Alt Text
D13891.id45658.diff (2 KB)
Attached To
Mode
D13891: [native][web] Flip the switch for blob-hosted media/avatar uploads
Attached
Detach File
Event Timeline
Log In to Comment