Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32223314
D10169.1765208245.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
687 B
Referenced Files
None
Subscribers
None
D10169.1765208245.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
Mon, Dec 8, 3:37 PM (8 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5848894
Default Alt Text
D10169.1765208245.diff (687 B)
Attached To
Mode
D10169: [native] Add some awaits in ChatInputBar.onSend
Attached
Detach File
Event Timeline
Log In to Comment