Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3249347
D6809.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
891 B
Referenced Files
None
Subscribers
None
D6809.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D6809: [web] Patch NavInfo.pendingThread with @-mentions in initial sidebar message
Attached
Detach File
Event Timeline
Log In to Comment