Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3249491
D6809.id22795.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.id22795.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
@@ -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
Details
Attached
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)
Attached To
Mode
D6809: [web] Patch NavInfo.pendingThread with @-mentions in initial sidebar message
Attached
Detach File
Event Timeline
Log In to Comment