Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3346609
D10173.id34215.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.id34215.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
Sat, Nov 23, 9:19 AM (19 h, 28 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2569659
Default Alt Text
D10173.id34215.diff (506 B)
Attached To
Mode
D10173: [native] Return inputState.sendMultimediaMessage Promise directly in ChatCameraModal
Attached
Detach File
Event Timeline
Log In to Comment