Skip to content
Snippets Groups Projects
Unverified Commit 3678b108 authored by ThibG's avatar ThibG Committed by GitHub
Browse files

Fix follow request notifications (#15048)

parent 1f945e73
No related branches found
No related tags found
No related merge requests found
......@@ -53,14 +53,20 @@ import {
} from 'mastodon/actions/directory';
import { Map as ImmutableMap, List as ImmutableList } from 'immutable';
const initialListState = ImmutableMap({
next: null,
isLoading: false,
items: ImmutableList(),
});
const initialState = ImmutableMap({
followers: ImmutableMap(),
following: ImmutableMap(),
reblogged_by: ImmutableMap(),
favourited_by: ImmutableMap(),
follow_requests: ImmutableMap(),
blocks: ImmutableMap(),
mutes: ImmutableMap(),
followers: initialListState,
following: initialListState,
reblogged_by: initialListState,
favourited_by: initialListState,
follow_requests: initialListState,
blocks: initialListState,
mutes: initialListState,
});
const normalizeList = (state, path, accounts, next) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment