Set blockIds and muteIds to the currentUser state only

This commit is contained in:
taehoon 2019-02-13 22:14:46 -05:00
parent e91a94ff9c
commit 1fd9a1c7c0
2 changed files with 3 additions and 3 deletions

View file

@ -303,6 +303,8 @@ const users = {
const user = data
// user.credentials = userCredentials
user.credentials = accessToken
user.blockIds = []
user.muteIds = []
commit('setCurrentUser', user)
commit('addNewUsers', [user])
@ -319,7 +321,7 @@ const users = {
// Start getting fresh posts.
store.dispatch('startFetching', { timeline: 'friends' })
// Get user mutes and follower info
// Get user mutes
store.dispatch('fetchMutes')
// Fetch our friends

View file

@ -120,8 +120,6 @@ export const parseUser = (data) => {
if (data.pleroma) {
output.follow_request_count = data.pleroma.follow_request_count
}
output.blockIds = []
output.muteIds = []
return output
}