Fix filterTimeline

This commit is contained in:
noellabo 2021-04-20 21:10:41 +09:00
parent edf71e9cca
commit 89754ccd7d

View file

@ -160,7 +160,9 @@ export default function timelines(state = initialState, action) {
return filterTimelines(state, action.relationship, action.statuses);
case ACCOUNT_UNFOLLOW_SUCCESS:
case ACCOUNT_UNSUBSCRIBE_SUCCESS:
return filterTimeline('home', state, action.relationship, action.statuses).filterTimeline('limited', state, action.relationship, action.statuses);
state = filterTimeline('home', state, action.relationship, action.statuses);
state = filterTimeline('limited', state, action.relationship, action.statuses);
return state;
case TIMELINE_SCROLL_TOP:
return updateTop(state, action.timeline, action.top);
case TIMELINE_CONNECT: