forked from AkkomaGang/akkoma-fe
No need to fetch mutes on load anymore 🙌
This commit is contained in:
parent
a64e744c1b
commit
9fa1bc63b0
1 changed files with 0 additions and 5 deletions
|
@ -365,11 +365,6 @@ const users = {
|
||||||
// Start getting fresh posts.
|
// Start getting fresh posts.
|
||||||
store.dispatch('startFetching', { timeline: 'friends' })
|
store.dispatch('startFetching', { timeline: 'friends' })
|
||||||
|
|
||||||
// Fetch mutes
|
|
||||||
// TODO: We should not show timeline until fetchMutes is resolved
|
|
||||||
// However, we can get rid of this logic totally if we can know user muted state from user object
|
|
||||||
store.dispatch('fetchMutes')
|
|
||||||
|
|
||||||
// Fetch our friends
|
// Fetch our friends
|
||||||
store.rootState.api.backendInteractor.fetchFriends({ id: user.id })
|
store.rootState.api.backendInteractor.fetchFriends({ id: user.id })
|
||||||
.then((friends) => commit('addNewUsers', friends))
|
.then((friends) => commit('addNewUsers', friends))
|
||||||
|
|
Loading…
Reference in a new issue