diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/reducers/statuses.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/reducers/statuses.js b/app/javascript/flavours/glitch/reducers/statuses.js index 94f367d72..617d96e5d 100644 --- a/app/javascript/flavours/glitch/reducers/statuses.js +++ b/app/javascript/flavours/glitch/reducers/statuses.js @@ -15,6 +15,9 @@ import { UNPIN_SUCCESS, } from 'flavours/glitch/actions/interactions'; import { + COMPOSE_SUBMIT_SUCCESS, +} from 'flavours/glitch/actions/compose'; +import { STATUS_FETCH_SUCCESS, CONTEXT_FETCH_SUCCESS, STATUS_MUTE_SUCCESS, @@ -101,6 +104,7 @@ export default function statuses(state = initialState, action) { case TIMELINE_UPDATE: case STATUS_FETCH_SUCCESS: case NOTIFICATIONS_UPDATE: + case COMPOSE_SUBMIT_SUCCESS: return normalizeStatus(state, action.status); case REBLOG_SUCCESS: case UNREBLOG_SUCCESS: |