forked from srxl/akkoma-fe
Set blockIds and muteIds to the currentUser state only
This commit is contained in:
parent
e91a94ff9c
commit
1fd9a1c7c0
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue