Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3366012
D10173.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
506 B
Referenced Files
None
Subscribers
None
D10173.diff
View Options
diff --git a/native/media/chat-camera-modal.react.js b/native/media/chat-camera-modal.react.js
--- a/native/media/chat-camera-modal.react.js
+++ b/native/media/chat-camera-modal.react.js
@@ -30,7 +30,7 @@
const sendPhoto = React.useCallback(
(capture: PhotoCapture) => {
invariant(inputState, 'inputState should be set');
- inputState.sendMultimediaMessage([capture], thread);
+ return inputState.sendMultimediaMessage([capture], thread);
},
[inputState, thread],
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 9:05 AM (4 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2584094
Default Alt Text
D10173.diff (506 B)
Attached To
Mode
D10173: [native] Return inputState.sendMultimediaMessage Promise directly in ChatCameraModal
Attached
Detach File
Event Timeline
Log In to Comment