forked from AkkomaGang/akkoma-fe
Add comment
This commit is contained in:
parent
d7919109ec
commit
a0bccbce94
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ export const mutations = {
|
||||||
state.currentUser.blockIds = blockIds
|
state.currentUser.blockIds = blockIds
|
||||||
},
|
},
|
||||||
updateMutes (state, mutedUsers) {
|
updateMutes (state, mutedUsers) {
|
||||||
|
// Reset muted of all fetched users
|
||||||
each(state.users, (user) => { user.muted = false })
|
each(state.users, (user) => { user.muted = false })
|
||||||
// TODO: Remove this line once we get muted property of user object from the api
|
// TODO: Remove this line once we get muted property of user object from the api
|
||||||
const newUsers = map(mutedUsers, (user) => ({ ...user, muted: true }))
|
const newUsers = map(mutedUsers, (user) => ({ ...user, muted: true }))
|
||||||
|
|
Loading…
Reference in a new issue