Page MenuHomePhabricator

D6809.diff
No OneTemporary

D6809.diff

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
@@ -89,6 +89,7 @@
} from './input-state.js';
import { validateFile, preloadImage } from '../media/media-utils.js';
import InvalidUploadModal from '../modals/chat/invalid-upload.react.js';
+import { updateNavInfoActionType } from '../redux/action-types.js';
import { useSelector } from '../redux/redux-utils.js';
import { nonThreadCalendarQuery } from '../selectors/nav-selectors.js';
@@ -1047,6 +1048,12 @@
messageInfo.text,
viewerID,
);
+ if (threadInfo !== inputThreadInfo) {
+ this.props.dispatch({
+ type: updateNavInfoActionType,
+ payload: { pendingThread: threadInfo },
+ });
+ }
}
let newThreadID = null;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 1:47 PM (21 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2498014
Default Alt Text
D6809.diff (891 B)

Event Timeline