No need to fetch mutes on load anymore 🙌

This commit is contained in:
taehoon 2019-03-21 21:58:02 -04:00
parent a64e744c1b
commit 9fa1bc63b0

View file

@ -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))