Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3167317
D13891.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.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
Fri, Nov 8, 3:51 AM (2 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2439463
Default Alt Text
D13891.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