Page MenuHomePhabricator

D10168.diff
No OneTemporary

D10168.diff

diff --git a/native/input/input-state-container.react.js b/native/input/input-state-container.react.js
--- a/native/input/input-state-container.react.js
+++ b/native/input/input-state-container.react.js
@@ -397,24 +397,25 @@
inputStateSelector: State => InputState = createSelector(
(state: State) => state.pendingUploads,
- (pendingUploads: PendingMultimediaUploads) => ({
- pendingUploads,
- sendTextMessage: this.sendTextMessage,
- sendMultimediaMessage: this.sendMultimediaMessage,
- editInputMessage: this.editInputMessage,
- addEditInputMessageListener: this.addEditInputMessageListener,
- removeEditInputMessageListener: this.removeEditInputMessageListener,
- messageHasUploadFailure: this.messageHasUploadFailure,
- retryMessage: this.retryMessage,
- registerSendCallback: this.registerSendCallback,
- unregisterSendCallback: this.unregisterSendCallback,
- uploadInProgress: this.uploadInProgress,
- reportURIDisplayed: this.reportURIDisplayed,
- setPendingThreadUpdateHandler: this.setPendingThreadUpdateHandler,
- scrollToMessage: this.scrollToMessage,
- addScrollToMessageListener: this.addScrollToMessageListener,
- removeScrollToMessageListener: this.removeScrollToMessageListener,
- }),
+ (pendingUploads: PendingMultimediaUploads) =>
+ ({
+ pendingUploads,
+ sendTextMessage: this.sendTextMessage,
+ sendMultimediaMessage: this.sendMultimediaMessage,
+ editInputMessage: this.editInputMessage,
+ addEditInputMessageListener: this.addEditInputMessageListener,
+ removeEditInputMessageListener: this.removeEditInputMessageListener,
+ messageHasUploadFailure: this.messageHasUploadFailure,
+ retryMessage: this.retryMessage,
+ registerSendCallback: this.registerSendCallback,
+ unregisterSendCallback: this.unregisterSendCallback,
+ uploadInProgress: this.uploadInProgress,
+ reportURIDisplayed: this.reportURIDisplayed,
+ setPendingThreadUpdateHandler: this.setPendingThreadUpdateHandler,
+ scrollToMessage: this.scrollToMessage,
+ addScrollToMessageListener: this.addScrollToMessageListener,
+ removeScrollToMessageListener: this.removeScrollToMessageListener,
+ }: InputState),
);
scrollToMessage = (messageID: string) => {
diff --git a/web/input/input-state-container.react.js b/web/input/input-state-container.react.js
--- a/web/input/input-state-container.react.js
+++ b/web/input/input-state-container.react.js
@@ -620,7 +620,7 @@
];
}
}
- return {
+ return ({
pendingUploads: threadPendingUploads,
assignedUploads,
draft: draft ?? '',
@@ -660,7 +660,7 @@
removeReplyListener: this.removeReplyListener,
registerSendCallback: this.props.registerSendCallback,
unregisterSendCallback: this.props.unregisterSendCallback,
- };
+ }: BaseInputState);
},
),
);

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 29, 4:07 PM (21 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2597443
Default Alt Text
D10168.diff (3 KB)

Event Timeline