Page MenuHomePhorge

D4640.1768327662.diff
No OneTemporary

Size
639 B
Referenced Files
None
Subscribers
None

D4640.1768327662.diff

diff --git a/web/chat/chat-input-bar.react.js b/web/chat/chat-input-bar.react.js
--- a/web/chat/chat-input-bar.react.js
+++ b/web/chat/chat-input-bar.react.js
@@ -365,11 +365,12 @@
this.dispatchTextMessageAction(text, nextLocalID);
nextLocalID++;
}
-
- this.props.inputState.createMultimediaMessage(
- nextLocalID,
- this.props.threadInfo,
- );
+ if (this.props.inputState.pendingUploads.length > 0) {
+ this.props.inputState.createMultimediaMessage(
+ nextLocalID,
+ this.props.threadInfo,
+ );
+ }
}
dispatchTextMessageAction(text: string, nextLocalID: number) {

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 13, 6:07 PM (52 m, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5928648
Default Alt Text
D4640.1768327662.diff (639 B)

Event Timeline