Page MenuHomePhabricator

D6809.id22795.diff
No OneTemporary

D6809.id22795.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
@@ -88,6 +88,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';
@@ -1025,6 +1026,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, 3:27 PM (21 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2498122
Default Alt Text
D6809.id22795.diff (891 B)

Event Timeline