mirror of https://github.com/Siphonay/mastodon
Fix forgotten reducers for reblogs/favourites
This commit is contained in:
parent
3692051561
commit
d88d148d89
|
@ -53,6 +53,10 @@ export default function statuses(state = initialState, action) {
|
||||||
switch(action.type) {
|
switch(action.type) {
|
||||||
case TIMELINE_UPDATE:
|
case TIMELINE_UPDATE:
|
||||||
case STATUS_FETCH_SUCCESS:
|
case STATUS_FETCH_SUCCESS:
|
||||||
|
case REBLOG_SUCCESS:
|
||||||
|
case UNREBLOG_SUCCESS:
|
||||||
|
case FAVOURITE_SUCCESS:
|
||||||
|
case UNFAVOURITE_SUCCESS:
|
||||||
return normalizeStatus(state, Immutable.fromJS(action.status));
|
return normalizeStatus(state, Immutable.fromJS(action.status));
|
||||||
case TIMELINE_REFRESH_SUCCESS:
|
case TIMELINE_REFRESH_SUCCESS:
|
||||||
case TIMELINE_EXPAND_SUCCESS:
|
case TIMELINE_EXPAND_SUCCESS:
|
||||||
|
|
Loading…
Reference in New Issue