Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3345953
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
Sat, Nov 23, 7:42 AM (16 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2569659
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