Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3365844
D10169.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
687 B
Referenced Files
None
Subscribers
None
D10169.diff
View Options
diff --git a/native/chat/chat-input-bar.react.js b/native/chat/chat-input-bar.react.js
--- a/native/chat/chat-input-bar.react.js
+++ b/native/chat/chat-input-bar.react.js
@@ -977,7 +977,7 @@
const editedMessage = this.getEditedMessage();
if (editedMessage && editedMessage.id) {
- this.editMessage(editedMessage.id, this.state.text);
+ await this.editMessage(editedMessage.id, this.state.text);
return;
}
@@ -1002,7 +1002,7 @@
'inputState should be set in ChatInputBar.onSend',
);
- this.props.inputState.sendTextMessage(
+ await this.props.inputState.sendTextMessage(
{
type: messageTypes.TEXT,
localID,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 8:03 AM (19 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2583957
Default Alt Text
D10169.diff (687 B)
Attached To
Mode
D10169: [native] Add some awaits in ChatInputBar.onSend
Attached
Detach File
Event Timeline
Log In to Comment