We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb341df commit fa83570Copy full SHA for fa83570
src/discussions/posts/data/slices.js
@@ -133,8 +133,10 @@ const threadsSlice = createSlice({
133
...(state.threadsInTopic[payload.topicId] || []),
134
payload.id,
135
];
136
- // Temporarily add it to the top of the list so it's visible
137
- state.pages[0] = [payload.id].concat(state.pages[0] || []);
+ if (!payload.anonymousToPeers) {
+ // Temporarily add it to the top of the list so it's visible
138
+ state.pages[0] = [payload.id].concat(state.pages[0] || []);
139
+ }
140
state.avatars = { ...state.avatars, ...payload.avatars };
141
state.redirectToThread = { topicId: payload.topicId, threadId: payload.id };
142
state.threadDraft = null;
0 commit comments